@@ -130,9 +130,6 @@ enum {
130
130
Opt_inode_cache , Opt_noinode_cache ,
131
131
132
132
/* Debugging options */
133
- Opt_check_integrity ,
134
- Opt_check_integrity_including_extent_data ,
135
- Opt_check_integrity_print_mask ,
136
133
Opt_enospc_debug , Opt_noenospc_debug ,
137
134
#ifdef CONFIG_BTRFS_DEBUG
138
135
Opt_fragment_data , Opt_fragment_metadata , Opt_fragment_all ,
@@ -201,9 +198,6 @@ static const match_table_t tokens = {
201
198
{Opt_recovery , "recovery" },
202
199
203
200
/* Debugging options */
204
- {Opt_check_integrity , "check_int" },
205
- {Opt_check_integrity_including_extent_data , "check_int_data" },
206
- {Opt_check_integrity_print_mask , "check_int_print_mask=%u" },
207
201
{Opt_enospc_debug , "enospc_debug" },
208
202
{Opt_noenospc_debug , "noenospc_debug" },
209
203
#ifdef CONFIG_BTRFS_DEBUG
@@ -708,44 +702,6 @@ int btrfs_parse_options(struct btrfs_fs_info *info, char *options,
708
702
case Opt_skip_balance :
709
703
btrfs_set_opt (info -> mount_opt , SKIP_BALANCE );
710
704
break ;
711
- #ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY
712
- case Opt_check_integrity_including_extent_data :
713
- btrfs_warn (info ,
714
- "integrity checker is deprecated and will be removed in 6.7" );
715
- btrfs_info (info ,
716
- "enabling check integrity including extent data" );
717
- btrfs_set_opt (info -> mount_opt , CHECK_INTEGRITY_DATA );
718
- btrfs_set_opt (info -> mount_opt , CHECK_INTEGRITY );
719
- break ;
720
- case Opt_check_integrity :
721
- btrfs_warn (info ,
722
- "integrity checker is deprecated and will be removed in 6.7" );
723
- btrfs_info (info , "enabling check integrity" );
724
- btrfs_set_opt (info -> mount_opt , CHECK_INTEGRITY );
725
- break ;
726
- case Opt_check_integrity_print_mask :
727
- ret = match_int (& args [0 ], & intarg );
728
- if (ret ) {
729
- btrfs_err (info ,
730
- "unrecognized check_integrity_print_mask value %s" ,
731
- args [0 ].from );
732
- goto out ;
733
- }
734
- info -> check_integrity_print_mask = intarg ;
735
- btrfs_warn (info ,
736
- "integrity checker is deprecated and will be removed in 6.7" );
737
- btrfs_info (info , "check_integrity_print_mask 0x%x" ,
738
- info -> check_integrity_print_mask );
739
- break ;
740
- #else
741
- case Opt_check_integrity_including_extent_data :
742
- case Opt_check_integrity :
743
- case Opt_check_integrity_print_mask :
744
- btrfs_err (info ,
745
- "support for check_integrity* not compiled in!" );
746
- ret = - EINVAL ;
747
- goto out ;
748
- #endif
749
705
case Opt_fatal_errors :
750
706
if (strcmp (args [0 ].from , "panic" ) == 0 ) {
751
707
btrfs_set_opt (info -> mount_opt ,
@@ -1306,15 +1262,6 @@ static int btrfs_show_options(struct seq_file *seq, struct dentry *dentry)
1306
1262
seq_puts (seq , ",autodefrag" );
1307
1263
if (btrfs_test_opt (info , SKIP_BALANCE ))
1308
1264
seq_puts (seq , ",skip_balance" );
1309
- #ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY
1310
- if (btrfs_test_opt (info , CHECK_INTEGRITY_DATA ))
1311
- seq_puts (seq , ",check_int_data" );
1312
- else if (btrfs_test_opt (info , CHECK_INTEGRITY ))
1313
- seq_puts (seq , ",check_int" );
1314
- if (info -> check_integrity_print_mask )
1315
- seq_printf (seq , ",check_int_print_mask=%d" ,
1316
- info -> check_integrity_print_mask );
1317
- #endif
1318
1265
if (info -> metadata_ratio )
1319
1266
seq_printf (seq , ",metadata_ratio=%u" , info -> metadata_ratio );
1320
1267
if (btrfs_test_opt (info , PANIC_ON_FATAL_ERROR ))
@@ -2405,9 +2352,6 @@ static int __init btrfs_print_mod_info(void)
2405
2352
#ifdef CONFIG_BTRFS_ASSERT
2406
2353
", assert=on"
2407
2354
#endif
2408
- #ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY
2409
- ", integrity-checker=on"
2410
- #endif
2411
2355
#ifdef CONFIG_BTRFS_FS_REF_VERIFY
2412
2356
", ref-verify=on"
2413
2357
#endif
0 commit comments