diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2025-01-29 14:56:35 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-17 10:05:47 +0100 |
| commit | 880b2cfda6aab779a0e6707dd001bcd990003b10 (patch) | |
| tree | 3aae4b175dbae0dee74c953e946063b1d6807cbb /scripts/stackusage | |
| parent | 4c42502e905107da13396ee4bc4b94979059bf2f (diff) | |
| download | linux-880b2cfda6aab779a0e6707dd001bcd990003b10.tar.gz linux-880b2cfda6aab779a0e6707dd001bcd990003b10.tar.bz2 linux-880b2cfda6aab779a0e6707dd001bcd990003b10.zip | |
md: Fix linear_set_limits()
commit a572593ac80e51eb69ecede7e614289fcccdbf8d 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: 127186cfb184 ("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>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
