Skip to content

Commit 30b42a7

Browse files
cgxu519jankara
authored andcommitted
ext2: remove nocheck option
Remove useless nocheck option. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Chengguang Xu <[email protected]> Signed-off-by: Jan Kara <[email protected]>
1 parent bc2fbaa commit 30b42a7

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

fs/ext2/ext2.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,6 @@ struct ext2_inode {
374374
/*
375375
* Mount flags
376376
*/
377-
#define EXT2_MOUNT_CHECK 0x000001 /* Do mount-time checks */
378377
#define EXT2_MOUNT_OLDALLOC 0x000002 /* Don't use the new Orlov allocator */
379378
#define EXT2_MOUNT_GRPID 0x000004 /* Create files with directory's group */
380379
#define EXT2_MOUNT_DEBUG 0x000008 /* Some debugging messages */

fs/ext2/super.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ static unsigned long get_sb_block(void **data)
431431
enum {
432432
Opt_bsd_df, Opt_minix_df, Opt_grpid, Opt_nogrpid,
433433
Opt_resgid, Opt_resuid, Opt_sb, Opt_err_cont, Opt_err_panic,
434-
Opt_err_ro, Opt_nouid32, Opt_nocheck, Opt_debug,
434+
Opt_err_ro, Opt_nouid32, Opt_debug,
435435
Opt_oldalloc, Opt_orlov, Opt_nobh, Opt_user_xattr, Opt_nouser_xattr,
436436
Opt_acl, Opt_noacl, Opt_xip, Opt_dax, Opt_ignore, Opt_err, Opt_quota,
437437
Opt_usrquota, Opt_grpquota, Opt_reservation, Opt_noreservation
@@ -451,8 +451,6 @@ static const match_table_t tokens = {
451451
{Opt_err_panic, "errors=panic"},
452452
{Opt_err_ro, "errors=remount-ro"},
453453
{Opt_nouid32, "nouid32"},
454-
{Opt_nocheck, "check=none"},
455-
{Opt_nocheck, "nocheck"},
456454
{Opt_debug, "debug"},
457455
{Opt_oldalloc, "oldalloc"},
458456
{Opt_orlov, "orlov"},
@@ -546,12 +544,6 @@ static int parse_options(char *options, struct super_block *sb,
546544
case Opt_nouid32:
547545
set_opt (opts->s_mount_opt, NO_UID32);
548546
break;
549-
case Opt_nocheck:
550-
ext2_msg(sb, KERN_WARNING,
551-
"Option nocheck/check=none is deprecated and"
552-
" will be removed in June 2020.");
553-
clear_opt (opts->s_mount_opt, CHECK);
554-
break;
555547
case Opt_debug:
556548
set_opt (opts->s_mount_opt, DEBUG);
557549
break;

0 commit comments

Comments
 (0)