]> www.infradead.org Git - nvme.git/commit
block: fix the blk_queue_nonrot polarity
authorChristoph Hellwig <hch@lst.de>
Mon, 24 Jun 2024 17:38:35 +0000 (19:38 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 24 Jun 2024 19:06:12 +0000 (13:06 -0600)
commit44348870de4b8f292f97b84583a298d66fbaf738
tree37cd0b8ca3cd8811c745f15ba6a2a0d94c467b72
parent876835b128976e2e9a7d18daab58b4cba7742787
block: fix the blk_queue_nonrot polarity

Take care of the inverse polarity of the BLK_FEAT_ROTATIONAL flag
vs the old nonrot helper.

Fixes: bd4a633b6f7c ("block: move the nonrot flag to queue_limits")
Reported-by: kernel test robot <oliver.sang@intel.com>
Reported-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240624173835.76753-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blkdev.h