projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faaa27a
)
Fix logfs_get_sb_final error path
author
Joern Engel
<joern@logfs.org>
Fri, 26 Mar 2010 13:45:55 +0000
(14:45 +0100)
committer
Joern Engel
<joern@logfs.org>
Sat, 27 Mar 2010 10:19:16 +0000
(11:19 +0100)
rootdir was already allocated, so we must iput it again.
Found by Al Viro.
Signed-off-by: Joern Engel <joern@logfs.org>
fs/logfs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/logfs/super.c
b/fs/logfs/super.c
index 006670fe9e8b2b64f80e98bb1d15828f3e33f9c8..2845c41d70d4fecbbecbb0ab449ed30e6e495b1b 100644
(file)
--- a/
fs/logfs/super.c
+++ b/
fs/logfs/super.c
@@
-328,7
+328,7
@@
static int logfs_get_sb_final(struct super_block *sb, struct vfsmount *mnt)
sb->s_root = d_alloc_root(rootdir);
if (!sb->s_root)
- goto fail;
+ goto fail
2
;
super->s_erase_page = alloc_pages(GFP_KERNEL, 0);
if (!super->s_erase_page)