aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 9c0a3448ec6b..01d163964e69 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1388,7 +1388,7 @@ static int ext4_setup_super(struct super_block *sb, struct ext4_super_block *es,
1388 * a plain journaled filesystem we can keep it set as 1388 * a plain journaled filesystem we can keep it set as
1389 * valid forever! :) 1389 * valid forever! :)
1390 */ 1390 */
1391 es->s_state = cpu_to_le16(le16_to_cpu(es->s_state) & ~EXT4_VALID_FS); 1391 es->s_state &= cpu_to_le16(~EXT4_VALID_FS);
1392#endif 1392#endif
1393 if (!(__s16) le16_to_cpu(es->s_max_mnt_count)) 1393 if (!(__s16) le16_to_cpu(es->s_max_mnt_count))
1394 es->s_max_mnt_count = cpu_to_le16(EXT4_DFL_MAX_MNT_COUNT); 1394 es->s_max_mnt_count = cpu_to_le16(EXT4_DFL_MAX_MNT_COUNT);