From 14114c98a89cad71698c9c29a038fd871cf8078f Mon Sep 17 00:00:00 2001 From: Qu Wenruo Date: Fri, 14 Jun 2024 13:52:28 +0930 Subject: [PATCH] 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 Signed-off-by: Qu Wenruo Reviewed-by: David Sterba Signed-off-by: David Sterba --- fs/btrfs/super.c | 3 --- 1 file changed, 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,