projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f5bbff
)
Fix a leak in failure exit in 9p ->get_sb()
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 6 May 2009 05:35:04 +0000
(
01:35
-0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 9 May 2009 14:49:40 +0000
(10:49 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/9p/vfs_super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/9p/vfs_super.c
b/fs/9p/vfs_super.c
index 0d29a57c63e6a11a6152d73f37b09b6916b034ca..ab5547ff29a159b1a9c3d7c4cd8b7c765155f7fd 100644
(file)
--- a/
fs/9p/vfs_super.c
+++ b/
fs/9p/vfs_super.c
@@
-156,6
+156,7
@@
static int v9fs_get_sb(struct file_system_type *fs_type, int flags,
root = d_alloc_root(inode);
if (!root) {
+ iput(inode);
retval = -ENOMEM;
goto release_sb;
}