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:
8818739
)
ext4: initialization of ext4_li_mtx needs to be done earlier
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 21 Mar 2012 02:05:02 +0000
(22:05 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 21 Mar 2012 02:05:02 +0000
(22:05 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ext4/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/super.c
b/fs/ext4/super.c
index d2baea7bcf30188f09abc1f28f91a4a5f71bfd65..933900909ed0facb352e8d2c86c19a456a4fbb49 100644
(file)
--- a/
fs/ext4/super.c
+++ b/
fs/ext4/super.c
@@
-5055,6
+5055,9
@@
static int __init ext4_init_fs(void)
{
int i, err;
+ ext4_li_info = NULL;
+ mutex_init(&ext4_li_mtx);
+
ext4_check_flag_values();
for (i = 0; i < EXT4_WQ_HASH_SZ; i++) {
@@
-5093,8
+5096,6
@@
static int __init ext4_init_fs(void)
if (err)
goto out;
- ext4_li_info = NULL;
- mutex_init(&ext4_li_mtx);
return 0;
out:
unregister_as_ext2();