From: Ian Kent It see that the patch tittled "autofs4 - fix pending mount race" is missing a change that I had recently made. It's missing a kfree for the case mutex_lock_interruptible() fails to aquire the wait queue mutex. Signed-off-by: Ian Kent Cc: Jeff Moyer Signed-off-by: Andrew Morton --- fs/autofs4/waitq.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff -puN fs/autofs4/waitq.c~autofs4-fix-pending-mount-race-fix fs/autofs4/waitq.c --- a/fs/autofs4/waitq.c~autofs4-fix-pending-mount-race-fix +++ a/fs/autofs4/waitq.c @@ -332,8 +332,10 @@ int autofs4_wait(struct autofs_sb_info * qstr.name = name; qstr.hash = full_name_hash(name, qstr.len); - if (mutex_lock_interruptible(&sbi->wq_mutex)) + if (mutex_lock_interruptible(&sbi->wq_mutex)) { + kfree(qstr.name); return -EINTR; + } ret = validate_request(&wq, sbi, &qstr, dentry, notify); if (ret <= 0) { _