Skip to content

Commit 14114c9

Browse files
adam900710kdave
authored andcommitted
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 <[email protected]> Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
1 parent 5fc070a commit 14114c9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

fs/btrfs/super.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,6 @@ enum {
126126
Opt_rescue,
127127
Opt_usebackuproot,
128128
Opt_nologreplay,
129-
Opt_ignorebadroots,
130-
Opt_ignoredatacsums,
131-
Opt_rescue_all,
132129

133130
/* Debugging options */
134131
Opt_enospc_debug,

0 commit comments

Comments
 (0)