]> www.infradead.org Git - linux.git/commit
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)
commit14114c98a89cad71698c9c29a038fd871cf8078f
tree3d6bf3dc4aa06dac82b38bf317cf01f2e77702c3
parent5fc070a9246d8d7d5dbccecf211085be43e0e8e5
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>
fs/btrfs/super.c