mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
btrfs: sysfs: add simple_quota incompat feature entry
Add an entry in the features directory for the new incompat flag Signed-off-by: Boris Burkov <boris@bur.io> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
0182764a21
commit
a744986ac4
1 changed files with 2 additions and 0 deletions
|
@ -291,6 +291,7 @@ BTRFS_FEAT_ATTR_INCOMPAT(metadata_uuid, METADATA_UUID);
|
||||||
BTRFS_FEAT_ATTR_COMPAT_RO(free_space_tree, FREE_SPACE_TREE);
|
BTRFS_FEAT_ATTR_COMPAT_RO(free_space_tree, FREE_SPACE_TREE);
|
||||||
BTRFS_FEAT_ATTR_COMPAT_RO(block_group_tree, BLOCK_GROUP_TREE);
|
BTRFS_FEAT_ATTR_COMPAT_RO(block_group_tree, BLOCK_GROUP_TREE);
|
||||||
BTRFS_FEAT_ATTR_INCOMPAT(raid1c34, RAID1C34);
|
BTRFS_FEAT_ATTR_INCOMPAT(raid1c34, RAID1C34);
|
||||||
|
BTRFS_FEAT_ATTR_INCOMPAT(simple_quota, SIMPLE_QUOTA);
|
||||||
#ifdef CONFIG_BLK_DEV_ZONED
|
#ifdef CONFIG_BLK_DEV_ZONED
|
||||||
BTRFS_FEAT_ATTR_INCOMPAT(zoned, ZONED);
|
BTRFS_FEAT_ATTR_INCOMPAT(zoned, ZONED);
|
||||||
#endif
|
#endif
|
||||||
|
@ -324,6 +325,7 @@ static struct attribute *btrfs_supported_feature_attrs[] = {
|
||||||
BTRFS_FEAT_ATTR_PTR(free_space_tree),
|
BTRFS_FEAT_ATTR_PTR(free_space_tree),
|
||||||
BTRFS_FEAT_ATTR_PTR(raid1c34),
|
BTRFS_FEAT_ATTR_PTR(raid1c34),
|
||||||
BTRFS_FEAT_ATTR_PTR(block_group_tree),
|
BTRFS_FEAT_ATTR_PTR(block_group_tree),
|
||||||
|
BTRFS_FEAT_ATTR_PTR(simple_quota),
|
||||||
#ifdef CONFIG_BLK_DEV_ZONED
|
#ifdef CONFIG_BLK_DEV_ZONED
|
||||||
BTRFS_FEAT_ATTR_PTR(zoned),
|
BTRFS_FEAT_ATTR_PTR(zoned),
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue