linux-stable/drivers/block/null_blk
Christoph Hellwig d73e93b4df block: simplify disk_set_zoned
Only use disk_set_zoned to actually enable zoned device support.
For clearing it, call disk_clear_zoned, which is renamed from
disk_clear_zone_settings and now directly clears the zoned flag as
well.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20231217165359.604246-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-12-19 20:17:43 -07:00
..
Kconfig block: null_blk: make fault-injection dynamically configurable per device 2023-04-13 07:38:55 -06:00
main.c block/null_blk: Fix double blk_mq_start_request() warning 2023-11-20 10:26:26 -07:00
Makefile null_blk: Move driver into its own directory 2020-12-07 17:36:04 -07:00
null_blk.h block: null_blk: make fault-injection dynamically configurable per device 2023-04-13 07:38:55 -06:00
trace.c null_blk: Move driver into its own directory 2020-12-07 17:36:04 -07:00
trace.h treewide: Rename enum req_opf into enum req_op 2022-07-14 12:14:30 -06:00
zoned.c block: simplify disk_set_zoned 2023-12-19 20:17:43 -07:00