btrfs: sysfs: remove BIG_METADATA feature files
authorNikolay Borisov <nborisov@suse.com>
Fri, 24 Jun 2022 08:01:23 +0000 (11:01 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:45:39 +0000 (17:45 +0200)
commit74860816e804ca175fa790f9bf5a369ab29d93ce
tree75942e0799c5f21d8d7a7b3b1d113189f34dbf10
parent0766837b0d8d29928ec0369621f560353217e3da
btrfs: sysfs: remove BIG_METADATA feature files

This flag has been merged in 3.10 and is effectively always-on. Its
status depends on the host page size so there's another way to guarantee
compatibility with old kernels.

Due to a bug introduced in 6f93e834fa7c ("btrfs: fix upper limit for
max_inline for page size 64K") the flag is not persisted among features
in the superblock so it's not reliable.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ update changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/sysfs.c