mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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()
This commit is contained in:
commit
b20078fd69
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ int autofs_wait(struct autofs_sb_info *sbi,
|
||||||
qstr.len = strlen(p);
|
qstr.len = strlen(p);
|
||||||
offset = p - name;
|
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)) {
|
if (mutex_lock_interruptible(&sbi->wq_mutex)) {
|
||||||
kfree(name);
|
kfree(name);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue