@@ -311,7 +311,6 @@ enum {
Opt_defrag, Opt_nodefrag,
Opt_discard, Opt_nodiscard,
Opt_nologreplay,
- Opt_norecovery,
Opt_ratio,
Opt_rescan_uuid_tree,
Opt_skip_balance,
@@ -329,7 +328,6 @@ enum {
/* Deprecated options */
Opt_alloc_start,
- Opt_recovery,
Opt_subvolrootid,
/* Debugging options */
@@ -374,7 +372,6 @@ static const match_table_t tokens = {
{Opt_discard, "discard"},
{Opt_nodiscard, "nodiscard"},
{Opt_nologreplay, "nologreplay"},
- {Opt_norecovery, "norecovery"},
{Opt_ratio, "metadata_ratio=%u"},
{Opt_rescan_uuid_tree, "rescan_uuid_tree"},
{Opt_skip_balance, "skip_balance"},
@@ -396,7 +393,6 @@ static const match_table_t tokens = {
/* Deprecated options */
{Opt_alloc_start, "alloc_start=%s"},
- {Opt_recovery, "recovery"},
{Opt_subvolrootid, "subvolrootid=%d"},
/* Debugging options */
@@ -664,7 +660,6 @@ int btrfs_parse_options(struct btrfs_fs_info *info, char *options,
btrfs_clear_and_info(info, NOTREELOG,
"enabling tree log");
break;
- case Opt_norecovery:
case Opt_nologreplay:
btrfs_set_and_info(info, NOLOGREPLAY,
"disabling log replay at mount time");
@@ -753,10 +748,6 @@ int btrfs_parse_options(struct btrfs_fs_info *info, char *options,
btrfs_clear_and_info(info, AUTO_DEFRAG,
"disabling auto defrag");
break;
- case Opt_recovery:
- btrfs_warn(info,
- "'recovery' is deprecated, use 'usebackuproot' instead");
- /* fall through */
case Opt_usebackuproot:
btrfs_info(info,
"trying to use backup root at mount time");
Commit 8dcddfa048de ("btrfs: Introduce new mount option usebackuproot to replace recovery") deprecates "recovery" mount option in 2016, and it has been 3 years, it should be OK to remove "recovery" mount option. As we're even going to deprecate the successor, "usebackuproot" mount option, there isn't really much need to keep the original option. Signed-off-by: Qu Wenruo <wqu@suse.com> --- fs/btrfs/super.c | 9 --------- 1 file changed, 9 deletions(-)