aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-02-28 01:21:38 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-28 01:21:38 -0500
commit3509b678a6bb93a49d9603c9c8028c8d95019539 (patch)
tree3ba231b44d2a2f3351f7500df70cc9e0f2555c19 /fs/9p
parent2ea03e1d62d56c37737e43550c360b43a5e40a32 (diff)
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:
841 if (!IS_ERR(res)) 841 if (!IS_ERR(res))
842 return res; 842 return res;
843 result = PTR_ERR(res); 843 result = PTR_ERR(res);
844 iput(inode);
845error: 844error:
846 p9_client_clunk(fid); 845 p9_client_clunk(fid);
847 846