Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b280c91 authored by Guo Chao's avatar Guo Chao Committed by Theodore Ts'o
Browse files

ext4: remove redundant initialization in ext4_fill_super()



We use kzalloc() to allocate sbi, no need to zero its field.

Signed-off-by: default avatarGuo Chao <yan@linux.vnet.ibm.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent a789f49c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;