Commit 3509b678 authored by Al Viro's avatar Al Viro

9p: double iput() in ->lookup() if d_materialise_unique() fails

d_materialise_unique() does iput() itself.
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 2ea03e1d
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment