2 fs/ext4/super.c | 12 ------------
3 1 file changed, 12 deletions(-)
7 @@ -3216,10 +3216,6 @@ static int ext4_fill_super(struct super_
9 sbi->s_kbytes_written = le64_to_cpu(es->s_kbytes_written);
11 -#ifndef CONFIG_EXT4_FS_RW
12 - sb->s_flags |= MS_RDONLY;
13 - ext4_msg(sb, KERN_INFO, "ext4 is supported in read-only mode only");
15 /* Set defaults before we parse the mount options */
16 def_mount_opts = le32_to_cpu(es->s_default_mount_opts);
17 set_opt(sb, INIT_INODE_TABLE);
18 @@ -4487,14 +4483,6 @@ static int ext4_remount(struct super_blo
19 if (sbi->s_journal && sbi->s_journal->j_task->io_context)
20 journal_ioprio = sbi->s_journal->j_task->io_context->ioprio;
22 -#ifndef CONFIG_EXT4_FS_RW
23 - if (!(*flags & MS_RDONLY)) {
24 - *flags |= MS_RDONLY;
25 - ext4_msg(sb, KERN_INFO,
26 - "ext4 is supported in read-only mode only");
31 * Allow the "check" option to be passed as a remount option.