aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2008-10-17 07:22:35 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-10-17 07:22:35 -0400
commit01436ef2e4710317f826c4893b31c07b2d8df88c (patch)
treee8c6a561e3f4803f6ee9ad7851623cd3e369bee9 /fs/ext4/super.c
parent0b09923eabd92f11a8b272dd3fd0347332d0e1e2 (diff)
ext4: Remove unused mount options: nomballoc, mballoc, nocheck
These mount options don't actually do anything any more, so remove them. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index a97e9ebe3b60..95127f03d1f6 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -904,7 +904,7 @@ static const struct export_operations ext4_export_ops = {
904enum { 904enum {
905 Opt_bsd_df, Opt_minix_df, Opt_grpid, Opt_nogrpid, 905 Opt_bsd_df, Opt_minix_df, Opt_grpid, Opt_nogrpid,
906 Opt_resgid, Opt_resuid, Opt_sb, Opt_err_cont, Opt_err_panic, Opt_err_ro, 906 Opt_resgid, Opt_resuid, Opt_sb, Opt_err_cont, Opt_err_panic, Opt_err_ro,
907 Opt_nouid32, Opt_nocheck, Opt_debug, Opt_oldalloc, Opt_orlov, 907 Opt_nouid32, Opt_debug, Opt_oldalloc, Opt_orlov,
908 Opt_user_xattr, Opt_nouser_xattr, Opt_acl, Opt_noacl, 908 Opt_user_xattr, Opt_nouser_xattr, Opt_acl, Opt_noacl,
909 Opt_reservation, Opt_noreservation, Opt_noload, Opt_nobh, Opt_bh, 909 Opt_reservation, Opt_noreservation, Opt_noload, Opt_nobh, Opt_bh,
910 Opt_commit, Opt_journal_update, Opt_journal_inum, Opt_journal_dev, 910 Opt_commit, Opt_journal_update, Opt_journal_inum, Opt_journal_dev,
@@ -915,7 +915,7 @@ enum {
915 Opt_jqfmt_vfsold, Opt_jqfmt_vfsv0, Opt_quota, Opt_noquota, 915 Opt_jqfmt_vfsold, Opt_jqfmt_vfsv0, Opt_quota, Opt_noquota,
916 Opt_ignore, Opt_barrier, Opt_err, Opt_resize, Opt_usrquota, 916 Opt_ignore, Opt_barrier, Opt_err, Opt_resize, Opt_usrquota,
917 Opt_grpquota, Opt_extents, Opt_noextents, Opt_i_version, 917 Opt_grpquota, Opt_extents, Opt_noextents, Opt_i_version,
918 Opt_mballoc, Opt_nomballoc, Opt_stripe, Opt_delalloc, Opt_nodelalloc, 918 Opt_stripe, Opt_delalloc, Opt_nodelalloc,
919 Opt_inode_readahead_blks 919 Opt_inode_readahead_blks
920}; 920};
921 921
@@ -933,8 +933,6 @@ static const match_table_t tokens = {
933 {Opt_err_panic, "errors=panic"}, 933 {Opt_err_panic, "errors=panic"},
934 {Opt_err_ro, "errors=remount-ro"}, 934 {Opt_err_ro, "errors=remount-ro"},
935 {Opt_nouid32, "nouid32"}, 935 {Opt_nouid32, "nouid32"},
936 {Opt_nocheck, "nocheck"},
937 {Opt_nocheck, "check=none"},
938 {Opt_debug, "debug"}, 936 {Opt_debug, "debug"},
939 {Opt_oldalloc, "oldalloc"}, 937 {Opt_oldalloc, "oldalloc"},
940 {Opt_orlov, "orlov"}, 938 {Opt_orlov, "orlov"},
@@ -973,8 +971,6 @@ static const match_table_t tokens = {
973 {Opt_extents, "extents"}, 971 {Opt_extents, "extents"},
974 {Opt_noextents, "noextents"}, 972 {Opt_noextents, "noextents"},
975 {Opt_i_version, "i_version"}, 973 {Opt_i_version, "i_version"},
976 {Opt_mballoc, "mballoc"},
977 {Opt_nomballoc, "nomballoc"},
978 {Opt_stripe, "stripe=%u"}, 974 {Opt_stripe, "stripe=%u"},
979 {Opt_resize, "resize"}, 975 {Opt_resize, "resize"},
980 {Opt_delalloc, "delalloc"}, 976 {Opt_delalloc, "delalloc"},
@@ -1073,9 +1069,6 @@ static int parse_options(char *options, struct super_block *sb,
1073 case Opt_nouid32: 1069 case Opt_nouid32:
1074 set_opt(sbi->s_mount_opt, NO_UID32); 1070 set_opt(sbi->s_mount_opt, NO_UID32);
1075 break; 1071 break;
1076 case Opt_nocheck:
1077 clear_opt(sbi->s_mount_opt, CHECK);
1078 break;
1079 case Opt_debug: 1072 case Opt_debug:
1080 set_opt(sbi->s_mount_opt, DEBUG); 1073 set_opt(sbi->s_mount_opt, DEBUG);
1081 break; 1074 break;