aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorJohn Garry <[email protected]>2023-03-27 07:43:03 +0000
committerMartin K. Petersen <[email protected]>2023-04-02 22:09:21 -0400
commit25b80b2c7582ea15ba90b8007f1e1f1b8fc762b9 (patch)
treedfdf88c1c09d4ea972bbd3b3b10d6783ec91cfa0 /lib/test_fortify/write_overflow-strncpy-src.c
parent0aaa3fad4fd931ba3accac3a1fcc7334ca780591 (diff)
scsi: scsi_debug: Protect block_unblock_all_queues() with mutex
There is no reason that calls to block_unblock_all_queues() from different context can't race with one another, so protect with the sdebug_host_list_mutex. There's no need for a more fine-grained per shost locking here (and we don't have a per-host lock anyway). Also simplify some touched code in sdebug_change_qdepth(). Signed-off-by: John Garry <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions