projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0568c51
)
ext4: Fix memory leak in ext4_fill_super() in case of a failed mount
author
Manish Katiyar
<mkatiyar@gmail.com>
Mon, 18 May 2009 03:52:44 +0000
(23:52 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 18 May 2009 03:52:44 +0000
(23:52 -0400)
Signed-off-by: Manish Katiyar <mkatiyar@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/super.c
b/fs/ext4/super.c
index 600b7ad699b53f64f17ee277b56f96ebe901917c..eca6c057b11977cbeb77ea177b60c8a67a447b6c 100644
(file)
--- a/
fs/ext4/super.c
+++ b/
fs/ext4/super.c
@@
-2924,6
+2924,7
@@
failed_mount:
brelse(bh);
out_fail:
sb->s_fs_info = NULL;
+ kfree(sbi->s_blockgroup_lock);
kfree(sbi);
lock_kernel();
return ret;