Skip to content
Snippets Groups Projects
Commit fbe8f2fa authored by Bart Van Assche's avatar Bart Van Assche Committed by Yu Kuai
Browse files

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: 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>
parent 96b531f9
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.
Please register or to comment