btrfs: zoned: remove left over ASSERT checking for single profile
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Mon, 7 Mar 2022 10:47:18 +0000 (02:47 -0800)
committerDavid Sterba <dsterba@suse.com>
Wed, 23 Mar 2022 22:34:15 +0000 (23:34 +0100)
commit62ed0bf7315b524973bb5fb9174b60e353289835
tree2bfe737ead0167aaa4a8f273e5400fe003818fac
parent0b9e66762aa0cda2a9c2d5542d64e04dac528fa6
btrfs: zoned: remove left over ASSERT checking for single profile

With commit dcf5652291f6 ("btrfs: zoned: allow DUP on meta-data block
groups") we started allowing DUP on metadata block groups, so the
ASSERT()s in btrfs_can_activate_zone() and btrfs_zoned_get_device() are
no longer valid and in fact even harmful.

Fixes: dcf5652291f6 ("btrfs: zoned: allow DUP on meta-data block groups")
CC: stable@vger.kernel.org # 5.17
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/zoned.c