aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index bebf8e5bf087..662e93e8c25b 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -896,7 +896,7 @@ static void ext4_put_super(struct super_block *sb)
896 EXT4_CLEAR_INCOMPAT_FEATURE(sb, EXT4_FEATURE_INCOMPAT_RECOVER); 896 EXT4_CLEAR_INCOMPAT_FEATURE(sb, EXT4_FEATURE_INCOMPAT_RECOVER);
897 es->s_state = cpu_to_le16(sbi->s_mount_state); 897 es->s_state = cpu_to_le16(sbi->s_mount_state);
898 } 898 }
899 if (sb->s_dirt || !(sb->s_flags & MS_RDONLY)) 899 if (!(sb->s_flags & MS_RDONLY))
900 ext4_commit_super(sb, 1); 900 ext4_commit_super(sb, 1);
901 901
902 if (sbi->s_proc) { 902 if (sbi->s_proc) {