summaryrefslogtreecommitdiff
path: root/fs/9p
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-02-28 10:21:38 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-28 10:21:38 +0400
commit3509b678a6bb93a49d9603c9c8028c8d95019539 (patch)
tree3ba231b44d2a2f3351f7500df70cc9e0f2555c19 /fs/9p
parent2ea03e1d62d56c37737e43550c360b43a5e40a32 (diff)
downloadlinux-3509b678a6bb93a49d9603c9c8028c8d95019539.tar.xz
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>
Diffstat (limited to 'fs/9p')
-rw-r--r--fs/9p/vfs_inode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
index ce601d71a427..cbee5ec4039d 100644
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -841,7 +841,6 @@ inst_out:
if (!IS_ERR(res))
return res;
result = PTR_ERR(res);
- iput(inode);
error:
p9_client_clunk(fid);