| Submitter | Herton Ronaldo Krzesinski |
|---|---|
| Date | Jan. 16, 2013, 3:56 p.m. |
| Message ID | <1358351822-7675-172-git-send-email-herton.krzesinski@canonical.com> |
| Download | mbox | patch |
| Permalink | /patch/212748/ |
| State | New |
| Headers | show |
Comments
Patch
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