]> git.baikalelectronics.ru Git - kernel.git/commit
dm-zoned: cleanup dmz_fixup_devices
authorChristoph Hellwig <hch@lst.de>
Wed, 6 Jul 2022 07:03:48 +0000 (09:03 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 6 Jul 2022 12:46:26 +0000 (06:46 -0600)
commit03990e683960a36a22451d55441ce5f6c90f8feb
tree27faa8fe51fd0ab746475fc7e225c6f81a5a48a8
parentfbfeb6c846a2244305808abae1e676e25b1c90af
dm-zoned: cleanup dmz_fixup_devices

Use the bdev based helpers where applicable and move the zoned_dev
into the scope where it is actually used.

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-15-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/dm-zoned-target.c