diff --git a/[refs] b/[refs] index dd6c50713d92..21cad2498d6f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a1362fe92f1bde687b3a9e93d6b8d105d0a84f74 +refs/heads/master: f4c7da02615bebcaf89f15a8d055922f515160b8 diff --git a/trunk/fs/autofs4/waitq.c b/trunk/fs/autofs4/waitq.c index cd3b2a671696..1132cc2a0310 100644 --- a/trunk/fs/autofs4/waitq.c +++ b/trunk/fs/autofs4/waitq.c @@ -332,8 +332,10 @@ int autofs4_wait(struct autofs_sb_info *sbi, struct dentry *dentry, 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) {