aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2024-06-14 13:52:28 +0930
committerDavid Sterba <dsterba@suse.com>2024-07-11 15:33:29 +0200
commit14114c98a89cad71698c9c29a038fd871cf8078f (patch)
tree3d6bf3dc4aa06dac82b38bf317cf01f2e77702c3 /fs/btrfs/super.c
parent5fc070a9246d8d7d5dbccecf211085be43e0e8e5 (diff)
btrfs: remove unused Opt enums
The following three Opt_* enums haven't been utilized since the port to new mount API: - Opt_ignorebadroots - Opt_ignoredatacsums - Opt_rescue_all All those enums are from the old day where we have dedicated mount options, nowadays they have been moved to "rescue=" mount option groups, and no more global tokens for them. So we can safely remove them now. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 5450a01cb69c..12cc1805af39 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -126,9 +126,6 @@ enum {
Opt_rescue,
Opt_usebackuproot,
Opt_nologreplay,
- Opt_ignorebadroots,
- Opt_ignoredatacsums,
- Opt_rescue_all,
/* Debugging options */
Opt_enospc_debug,