forked from luck/tmp_suning_uos_patched
9p: double iput() in ->lookup() if d_materialise_unique() fails
d_materialise_unique() does iput() itself. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
2ea03e1d62
commit
3509b678a6
|
@ -841,7 +841,6 @@ struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry,
|
|||
if (!IS_ERR(res))
|
||||
return res;
|
||||
result = PTR_ERR(res);
|
||||
iput(inode);
|
||||
error:
|
||||
p9_client_clunk(fid);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user