ext4: remove useless s_dirt assignment
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 22 Mar 2012 02:30:06 +0000 (22:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 22 Mar 2012 02:30:06 +0000 (22:30 -0400)
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 <artem.bityutskiy@linux.intel.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c

index 626c1f840118cc8853d50ec200385f6147f7f32d..150840a4af38a73c20923d85cca33795c5613e74 100644 (file)
@@ -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 */