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:
Al Viro 2013-02-28 01:21:38 -05:00
parent 2ea03e1d62
commit 3509b678a6

View File

@ -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);