From: Artem Bityutskiy Date: Thu, 22 Mar 2012 02:30:06 +0000 (-0400) Subject: ext4: remove useless s_dirt assignment X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=182f514f883abb5f942c94e61c371c4b406352d4;p=deliverable%2Flinux.git ext4: remove useless s_dirt assignment Clean-up ext4 a tiny bit by removing useless s_dirt assignment in 'ext4_fill_super()' because a bit later we anyway call 'ext4_setup_super()' which writes the superblock to the media unconditionally. Signed-off-by: Artem Bityutskiy Signed-off-by: "Theodore Ts'o" --- diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 626c1f840118..150840a4af38 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -3277,7 +3277,6 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) #else es->s_flags |= cpu_to_le32(EXT2_FLAGS_SIGNED_HASH); #endif - sb->s_dirt = 1; } /* Handle clustersize */