Skip to content

Commit b20078f

Browse files
committed
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull autofs fix from Al Viro: "Fix for a braino of mine (in getting rid of open-coded dentry_path_raw() in autofs a couple of cycles ago). Mea culpa... Obvious -stable fodder" * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: autofs: fix wait name hash calculation in autofs_wait()
2 parents 6c62666 + 25f54d0 commit b20078f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/autofs/waitq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ int autofs_wait(struct autofs_sb_info *sbi,
358358
qstr.len = strlen(p);
359359
offset = p - name;
360360
}
361-
qstr.hash = full_name_hash(dentry, name, qstr.len);
361+
qstr.hash = full_name_hash(dentry, qstr.name, qstr.len);
362362

363363
if (mutex_lock_interruptible(&sbi->wq_mutex)) {
364364
kfree(name);

0 commit comments

Comments
 (0)