Skip to content

Commit

Permalink
9p: double iput() in ->lookup() if d_materialise_unique() fails
Browse files Browse the repository at this point in the history
d_materialise_unique() does iput() itself.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Feb 28, 2013
1 parent 2ea03e1 commit 3509b67
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/9p/vfs_inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 3509b67

Please sign in to comment.