Files
linux/drivers/md
Bart Van Assche 880b2cfda6 md: Fix linear_set_limits()
commit a572593ac8 upstream.

queue_limits_cancel_update() must only be called if
queue_limits_start_update() is called first. Remove the
queue_limits_cancel_update() call from linear_set_limits() because
there is no corresponding queue_limits_start_update() call.

This bug was discovered by annotating all mutex operations with clang
thread-safety attributes and by building the kernel with clang and
-Wthread-safety.

Cc: Yu Kuai <yukuai3@huawei.com>
Cc: Coly Li <colyli@kernel.org>
Cc: Mike Snitzer <snitzer@kernel.org>
Cc: Christoph Hellwig <hch@lst.de>
Fixes: 127186cfb1 ("md: reintroduce md-linear")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250129225636.2667932-1-bvanassche@acm.org
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-02-17 10:05:47 +01:00
..
2024-04-01 11:53:37 -06:00
2024-06-26 11:32:39 -04:00
2024-05-09 09:10:58 -04:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2024-02-20 14:22:51 -05:00
2024-06-26 11:32:39 -04:00
2024-02-20 14:22:51 -05:00
2023-02-14 14:23:06 -05:00
2024-07-05 00:42:04 -06:00
2024-10-15 13:37:17 +02:00
2025-02-17 10:05:04 +01:00
2025-02-17 10:05:04 +01:00
2025-02-17 10:05:04 +01:00
2025-02-17 10:05:47 +01:00
2025-02-17 10:05:04 +01:00
2024-03-06 08:59:53 -08:00