diff options
| author | Linus Torvalds <[email protected]> | 2021-10-24 19:36:06 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-10-24 19:36:06 +0000 |
| commit | b20078fd69a3da08d85c79b95101cf25c4afcc97 (patch) | |
| tree | 7e0f7c056ea21159834677c90723b7fab3501c38 | |
| parent | Merge tag 'sched_urgent_for_v5.15_rc7' of git://git.kernel.org/pub/scm/linux/... (diff) | |
| parent | autofs: fix wait name hash calculation in autofs_wait() (diff) | |
| download | kernel-b20078fd69a3da08d85c79b95101cf25c4afcc97.tar.gz kernel-b20078fd69a3da08d85c79b95101cf25c4afcc97.zip | |
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()
| -rw-r--r-- | fs/autofs/waitq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/autofs/waitq.c b/fs/autofs/waitq.c index 16b5fca0626e..54c1f8b8b075 100644 --- a/fs/autofs/waitq.c +++ b/fs/autofs/waitq.c @@ -358,7 +358,7 @@ int autofs_wait(struct autofs_sb_info *sbi, qstr.len = strlen(p); offset = p - name; } - qstr.hash = full_name_hash(dentry, name, qstr.len); + qstr.hash = full_name_hash(dentry, qstr.name, qstr.len); if (mutex_lock_interruptible(&sbi->wq_mutex)) { kfree(name); |
