aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-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 4969167ac267..183ae3447f64 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -4729,7 +4729,7 @@ static int ext4_remount(struct super_block *sb, int *flags, char *data)
4729 } 4729 }
4730 4730
4731 ext4_setup_system_zone(sb); 4731 ext4_setup_system_zone(sb);
4732 if (sbi->s_journal == NULL) 4732 if (sbi->s_journal == NULL && !(old_sb_flags & MS_RDONLY))
4733 ext4_commit_super(sb, 1); 4733 ext4_commit_super(sb, 1);
4734 4734
4735#ifdef CONFIG_QUOTA 4735#ifdef CONFIG_QUOTA