]> www.infradead.org Git - nvme.git/commit
md/raid*: Fix the set_queue_limits implementations
authorBart Van Assche <bvanassche@acm.org>
Wed, 12 Feb 2025 17:11:07 +0000 (09:11 -0800)
committerYu Kuai <yukuai@kernel.org>
Thu, 13 Feb 2025 17:29:33 +0000 (01:29 +0800)
commitfbe8f2fa971c537571994a0df532c511c4fb5537
tree8ff4117ec07e047b0cd4fa26116c9a4e748d7f4f
parent96b531f9bb0da924299d1850bb9b2911f5c0c50a
md/raid*: Fix the set_queue_limits implementations

queue_limits_cancel_update() must only be called if
queue_limits_start_update() is called first. Remove the
queue_limits_cancel_update() calls from the raid*_set_limits() functions
because there is no corresponding queue_limits_start_update() call.

Cc: Christoph Hellwig <hch@lst.de>
Fixes: c6e56cf6b2e7 ("block: move integrity information into queue_limits")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/linux-raid/20250212171108.3483150-1-bvanassche@acm.org/
Signed-off-by: Yu Kuai <yukuai@kernel.org>
drivers/md/raid0.c
drivers/md/raid1.c
drivers/md/raid10.c