diff options
Diffstat (limited to 'fs/ext2/super.c')
-rw-r--r-- | fs/ext2/super.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 25ab1274090f..8ff53f8da3bc 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c | |||
@@ -557,6 +557,9 @@ static int parse_options(char *options, struct super_block *sb, | |||
557 | set_opt (opts->s_mount_opt, NO_UID32); | 557 | set_opt (opts->s_mount_opt, NO_UID32); |
558 | break; | 558 | break; |
559 | case Opt_nocheck: | 559 | case Opt_nocheck: |
560 | ext2_msg(sb, KERN_WARNING, | ||
561 | "Option nocheck/check=none is deprecated and" | ||
562 | " will be removed in June 2020."); | ||
560 | clear_opt (opts->s_mount_opt, CHECK); | 563 | clear_opt (opts->s_mount_opt, CHECK); |
561 | break; | 564 | break; |
562 | case Opt_debug: | 565 | case Opt_debug: |
@@ -1335,9 +1338,6 @@ static int ext2_remount (struct super_block * sb, int * flags, char * data) | |||
1335 | new_opts.s_resgid = sbi->s_resgid; | 1338 | new_opts.s_resgid = sbi->s_resgid; |
1336 | spin_unlock(&sbi->s_lock); | 1339 | spin_unlock(&sbi->s_lock); |
1337 | 1340 | ||
1338 | /* | ||
1339 | * Allow the "check" option to be passed as a remount option. | ||
1340 | */ | ||
1341 | if (!parse_options(data, sb, &new_opts)) | 1341 | if (!parse_options(data, sb, &new_opts)) |
1342 | return -EINVAL; | 1342 | return -EINVAL; |
1343 | 1343 | ||