commit | eafc63a9f78e315e7a93c455859b776713da8b69 | [log] [tgz] |
---|---|---|
author | Damien Le Moal <damien.lemoal@wdc.com> | Thu Jan 28 13:47:29 2021 +0900 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Feb 10 07:44:40 2021 -0700 |
tree | 4041d4d48c2cd606e2c1e42d8cd8897ede6be7bd | |
parent | 5752dc78a18118ae143962e10e5c28344d8ab731 [diff] |
block: use blk_queue_set_zoned in add_partition() When changing the zoned model of host-aware zoned block devices, use blk_queue_set_zoned() instead of directly assigning the gendisk queue zoned limit. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@edc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>