Skip to content
Snippets Groups Projects
Commit a52a63a4 authored by Bart Van Assche's avatar Bart Van Assche Committed by Frieder Schrempf
Browse files

md/raid*: Fix the set_queue_limits implementations


[ Upstream commit fbe8f2fa971c537571994a0df532c511c4fb5537 ]

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: c6e56cf6 ("block: move integrity information into queue_limits")
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/linux-raid/20250212171108.3483150-1-bvanassche@acm.org/


Signed-off-by: default avatarYu Kuai <yukuai@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent d6fed164
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment