On Wed, Jan 29, 2025 at 2:57 PM Bart Van Assche <bvanassche@xxxxxxx> wrote: > > 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@xxxxxxxxxx> > Cc: Coly Li <colyli@xxxxxxxxxx> > Cc: Mike Snitzer <snitzer@xxxxxxxxxx> > Cc: Christoph Hellwig <hch@xxxxxx> > Fixes: 127186cfb184 ("md: reintroduce md-linear") > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> Applied to md-6.14 branch. Thanks for the fix! Song