]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: use bdev_max_active_zones instead of open coding it
authorChristoph Hellwig <hch@lst.de>
Fri, 15 Apr 2022 04:52:39 +0000 (06:52 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Apr 2022 01:49:58 +0000 (19:49 -0600)
commita971b129399fdb6f50d518fcf2146a3a60dce2e0
tree40c929ab2d49e10d76bd5794f2e051ea0edfd5ae
parentfd989542155c887826161f9106a4dc5eb8f0dc49
btrfs: use bdev_max_active_zones instead of open coding it

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Acked-by: David Sterba <dsterba@suse.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220415045258.199825-9-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/btrfs/zoned.c