aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2025-01-29 22:56:35 +0000
committerSong Liu <[email protected]>2025-01-31 18:18:50 +0000
commita572593ac80e51eb69ecede7e614289fcccdbf8d (patch)
tree2471d031d4a5d77276bd6ad09051478ad6d0b0a3 /net/unix/sysctl_net_unix.c
parentblock: force noio scope in blk_mq_freeze_queue (diff)
downloadkernel-a572593ac80e51eb69ecede7e614289fcccdbf8d.tar.gz
kernel-a572593ac80e51eb69ecede7e614289fcccdbf8d.zip
md: Fix linear_set_limits()
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 <[email protected]> Cc: Coly Li <[email protected]> Cc: Mike Snitzer <[email protected]> Cc: Christoph Hellwig <[email protected]> Fixes: 127186cfb184 ("md: reintroduce md-linear") Signed-off-by: Bart Van Assche <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions