diff options
author | Anand Jain <anand.jain@oracle.com> | 2018-02-13 17:50:47 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-26 15:09:34 +0200 |
commit | eceff22a8067fa5f587d1bab0eb66503d33b7164 (patch) | |
tree | bafe32f5a66218369169f3dbc8db24028c1a206d /fs/btrfs/super.c | |
parent | d3740608646f72fb94705a853946f647abcfaec4 (diff) | |
download | linux-next-eceff22a8067fa5f587d1bab0eb66503d33b7164.tar.gz |
btrfs: add a comment to mark the deprecated mount option
The options alloc_start and subvolrootid are deprecated, comment them in
the tokens list. And leave them as it is. No functional changes.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 3656d0575ed8..540c18511e7a 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -344,7 +344,7 @@ static const match_table_t tokens = { {Opt_nobarrier, "nobarrier"}, {Opt_barrier, "barrier"}, {Opt_max_inline, "max_inline=%s"}, - {Opt_alloc_start, "alloc_start=%s"}, + {Opt_alloc_start, "alloc_start=%s"}, /* deprecated */ {Opt_thread_pool, "thread_pool=%u"}, {Opt_compress, "compress"}, {Opt_compress_type, "compress=%s"}, @@ -370,7 +370,7 @@ static const match_table_t tokens = { {Opt_user_subvol_rm_allowed, "user_subvol_rm_allowed"}, {Opt_enospc_debug, "enospc_debug"}, {Opt_noenospc_debug, "noenospc_debug"}, - {Opt_subvolrootid, "subvolrootid=%d"}, + {Opt_subvolrootid, "subvolrootid=%d"}, /* deprecated */ {Opt_defrag, "autodefrag"}, {Opt_nodefrag, "noautodefrag"}, {Opt_inode_cache, "inode_cache"}, |