diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-28 01:21:38 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-28 01:21:38 -0500 |
commit | 3509b678a6bb93a49d9603c9c8028c8d95019539 (patch) | |
tree | 3ba231b44d2a2f3351f7500df70cc9e0f2555c19 /fs/9p | |
parent | 2ea03e1d62d56c37737e43550c360b43a5e40a32 (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.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: | |||
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); | ||
845 | error: | 844 | error: |
846 | p9_client_clunk(fid); | 845 | p9_client_clunk(fid); |
847 | 846 | ||