]> www.infradead.org Git - users/hch/block.git/commit
block: use bdev based helpers in blkdev_zone_mgmt{,all}
authorChristoph Hellwig <hch@lst.de>
Thu, 30 Jun 2022 07:55:19 +0000 (09:55 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 5 Jul 2022 10:05:51 +0000 (12:05 +0200)
commit16963d9bda2239c7cd4ce8644eb0915ce4bdfc6f
tree7190e0b0be6044d888177488b09a07d37897316a
parenteda5d45d9d881f2505a9ed1fd5fcecc2fcc93616
block: use bdev based helpers in blkdev_zone_mgmt{,all}

Use the bdev based helpers instead of the queue based ones to clean up
the code a bit and prepare for storing all zone related fields in
struct gendisk.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
block/blk-zoned.c