]> git.itanic.dy.fi Git - linux-stable/commit
sd: remove the !ZBC && blk_queue_is_zoned case in sd_read_block_characteristics
authorChristoph Hellwig <hch@lst.de>
Thu, 28 Dec 2023 07:51:40 +0000 (07:51 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 8 Jan 2024 15:27:22 +0000 (08:27 -0700)
commit6945a1804e5c2a3382232a8d6c2143930b833362
treeaa8d2000130cc12e10f221d6f280798b3bf08675
parente3d7581cb13b3f2a415e5cd92769b7f4b7d14ed0
sd: remove the !ZBC && blk_queue_is_zoned case in sd_read_block_characteristics

Now that host-aware devices are always treated as conventional this case
can't happen.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20231228075141.362560-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/scsi/sd.c