]> www.infradead.org Git - nvme.git/commitdiff
btrfs: remove unused Opt enums
authorQu Wenruo <wqu@suse.com>
Fri, 14 Jun 2024 04:22:28 +0000 (13:52 +0930)
committerDavid Sterba <dsterba@suse.com>
Thu, 11 Jul 2024 13:33:29 +0000 (15:33 +0200)
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>
fs/btrfs/super.c

index 5450a01cb69c372c73120f945b7f7bb409e9fe94..12cc1805af39a72da42203c657ea2a8b325768d9 100644 (file)
@@ -126,9 +126,6 @@ enum {
        Opt_rescue,
        Opt_usebackuproot,
        Opt_nologreplay,
-       Opt_ignorebadroots,
-       Opt_ignoredatacsums,
-       Opt_rescue_all,
 
        /* Debugging options */
        Opt_enospc_debug,