projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76bf09f
)
logfs: missing cleanup on register_filesystem() failure
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 17 Mar 2012 22:16:24 +0000
(18:16 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 21 Mar 2012 01:29:48 +0000
(21:29 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/logfs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/logfs/super.c
b/fs/logfs/super.c
index 7de18c3021febe108aa241543d90109962b448b0..97bca623d893a8345323739add9a4178da72ec9a 100644
(file)
--- a/
fs/logfs/super.c
+++ b/
fs/logfs/super.c
@@
-626,7
+626,10
@@
static int __init logfs_init(void)
if (ret)
goto out2;
- return register_filesystem(&logfs_fs_type);
+ ret = register_filesystem(&logfs_fs_type);
+ if (!ret)
+ return 0;
+ logfs_destroy_inode_cache();
out2:
logfs_compr_exit();
out1: