summaryrefslogtreecommitdiff
path: root/fs/ext4
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-03-22 06:30:06 +0400
committerTheodore Ts'o <tytso@mit.edu>2012-03-22 06:30:06 +0400
commit182f514f883abb5f942c94e61c371c4b406352d4 (patch)
treedfcdedfc4e68eee92107aa06fdf92952dadd259a /fs/ext4
parenta8e25a83245618e6b0ddf82a9bba79c1b466804d (diff)
downloadlinux-182f514f883abb5f942c94e61c371c4b406352d4.tar.xz
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 <artem.bityutskiy@linux.intel.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 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 */