summaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorGuo Chao <yan@linux.vnet.ibm.com>2012-12-10 20:06:04 +0100
committerTheodore Ts'o <tytso@mit.edu>2012-12-10 20:06:04 +0100
commit6b280c913ee02a1a41b020a74c41584f2fca582a (patch)
treedb38540fad351badad546170c6f4f0c39528c1fe /fs/ext4
parentext4: remove redundant code in ext4_alloc_inode() (diff)
downloadlinux-6b280c913ee02a1a41b020a74c41584f2fca582a.tar.xz
linux-6b280c913ee02a1a41b020a74c41584f2fca582a.zip
ext4: remove redundant initialization in ext4_fill_super()
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>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index c2ea525e85c6..e1e216f8e9bd 100644
--- 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;