diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-28 07:21:38 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-28 07:21:38 +0100 |
commit | 3509b678a6bb93a49d9603c9c8028c8d95019539 (patch) | |
tree | 3ba231b44d2a2f3351f7500df70cc9e0f2555c19 /fs | |
parent | 9p: v9fs_fid_add() can't fail now (diff) | |
download | linux-3509b678a6bb93a49d9603c9c8028c8d95019539.tar.xz linux-3509b678a6bb93a49d9603c9c8028c8d95019539.zip |
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')
-rw-r--r-- | fs/9p/vfs_inode.c | 1 |
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); |