projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ea03e1
)
9p: double iput() in ->lookup() if d_materialise_unique() fails
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 28 Feb 2013 06:21:38 +0000
(
01:21
-0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 28 Feb 2013 06:21:38 +0000
(
01:21
-0500)
d_materialise_unique() does iput() itself.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/9p/vfs_inode.c
patch
|
blob
|
history
diff --git
a/fs/9p/vfs_inode.c
b/fs/9p/vfs_inode.c
index ce601d71a42728d06bd898b2a36db97ca1bf35ff..cbee5ec4039dc5776094844e8f9336829d510bb0 100644
(file)
--- 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);