Message ID | 1358351822-7675-172-git-send-email-herton.krzesinski@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index b045207..5be2105 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -4686,7 +4686,7 @@ static int ext4_remount(struct super_block *sb, int *flags, char *data) } ext4_setup_system_zone(sb); - if (sbi->s_journal == NULL) + if (sbi->s_journal == NULL && !(old_sb_flags & MS_RDONLY)) ext4_commit_super(sb, 1); #ifdef CONFIG_QUOTA