提交 3509b678 编写于 作者: A Al Viro

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

d_materialise_unique() does iput() itself.
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册