diff options
-rw-r--r-- | fs/ext4/super.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index df121b20b0d..be6c0ccd822 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -3618,7 +3618,8 @@ no_journal: | |||
3618 | goto failed_mount4; | 3618 | goto failed_mount4; |
3619 | } | 3619 | } |
3620 | 3620 | ||
3621 | ext4_setup_super(sb, es, sb->s_flags & MS_RDONLY); | 3621 | if (ext4_setup_super(sb, es, sb->s_flags & MS_RDONLY)) |
3622 | sb->s_flags |= MS_RDONLY; | ||
3622 | 3623 | ||
3623 | /* determine the minimum size of new large inodes, if present */ | 3624 | /* determine the minimum size of new large inodes, if present */ |
3624 | if (sbi->s_inode_size > EXT4_GOOD_OLD_INODE_SIZE) { | 3625 | if (sbi->s_inode_size > EXT4_GOOD_OLD_INODE_SIZE) { |