btrfs-progs/mkfs
Johannes Thumshirn 89191f8c12 btrfs-progs: pass in block-group type to zoned_profile_supported
Pass BTRFS_BLOCK_GROUP_DATA and BTRFS_BLOCK_GROUP_METADATA to
zoned_profile_supported(), so we can actually distinguish if it is a data
or a meta-data block group.

Fixes: 8f914d518a46 ("btrfs-progs: zoned support DUP on metadata block groups")
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2022-02-16 22:48:01 +01:00
..
Makefile btrfs-progs: build: add stub makefile to image and mkfs 2019-07-04 15:36:01 +02:00
common.c btrfs-progs: remove redundant fs uuid validation from make_btrfs 2022-01-11 18:02:46 +01:00
common.h btrfs-progs: mkfs: don't autoselect DUP on SSD for metadata anymore 2021-10-08 20:47:03 +02:00
main.c btrfs-progs: pass in block-group type to zoned_profile_supported 2022-02-16 22:48:01 +01:00
rootdir.c btrfs-progs: stop passing root to csum related functions 2021-11-22 21:45:37 +01:00
rootdir.h btrfs-progs: unify GPL header comments 2021-09-07 13:58:44 +02:00