]> git.baikalelectronics.ru Git - kernel.git/commit
block: use bdev based helpers in blkdev_zone_mgmt{,all}
authorChristoph Hellwig <hch@lst.de>
Wed, 6 Jul 2022 07:03:46 +0000 (09:03 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 6 Jul 2022 12:46:26 +0000 (06:46 -0600)
commit7b61fddc7a2eaff1ef487cedc469086d3cd88221
tree3f30d85dbe9fb962d9a63bc0a960f7e85e498d38
parent8b8a62e625881084b17fd4b48a170b2993462102
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>
Link: https://lore.kernel.org/r/20220706070350.1703384-13-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-zoned.c