summaryrefslogtreecommitdiffstats
path: root/fs/9p/vfs_inode.c
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/vfs_inode.c
parent2ea03e1d62d56c37737e43550c360b43a5e40a32 (diff)
downloadop-kernel-dev-3509b678a6bb93a49d9603c9c8028c8d95019539.zip
op-kernel-dev-3509b678a6bb93a49d9603c9c8028c8d95019539.tar.gz
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/vfs_inode.c')
-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 ce601d7..cbee5ec 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);
OpenPOWER on IntegriCloud