projects
/
GitHub
/
moto-9609
/
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:
a789f49
)
ext4: remove redundant initialization in ext4_fill_super()
author
Guo Chao
<yan@linux.vnet.ibm.com>
Mon, 10 Dec 2012 19:06:04 +0000
(14:06 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 10 Dec 2012 19:06:04 +0000
(14:06 -0500)
We use kzalloc() to allocate sbi, no need to zero its field.
Signed-off-by: Guo Chao <yan@linux.vnet.ibm.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 c2ea525e85c6ef8324582308c35f8ed41aec1697..e1e216f8e9bd645276548c74ecd5ae4888c8d7f0 100644
(file)
--- a/
fs/ext4/super.c
+++ b/
fs/ext4/super.c
@@
-3798,7
+3798,6
@@
static int ext4_fill_super(struct super_block *sb, void *data, int silent)
INIT_LIST_HEAD(&sbi->s_orphan); /* unlinked but open files */
mutex_init(&sbi->s_orphan_lock);
- sbi->s_resize_flags = 0;
sb->s_root = NULL;