summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ppa.c
diff options
context:
space:
mode:
authorJohn Garry <john.g.garry@oracle.com>2023-03-27 07:43:02 +0000
committerMartin K. Petersen <martin.petersen@oracle.com>2023-04-02 22:09:21 -0400
commit0aaa3fad4fd931ba3accac3a1fcc7334ca780591 (patch)
tree6ad4b58ebf2f0a64a9eda5aaa66ab3c7350fbceb /drivers/scsi/ppa.c
parent00f9d622e8b237d8403569ee51f7bfb9bf89a2d5 (diff)
downloadlinux-stable-0aaa3fad4fd931ba3accac3a1fcc7334ca780591.tar.gz
linux-stable-0aaa3fad4fd931ba3accac3a1fcc7334ca780591.tar.bz2
linux-stable-0aaa3fad4fd931ba3accac3a1fcc7334ca780591.zip
scsi: scsi_debug: Change shost list lock to a mutex
The shost list lock, sdebug_host_list_lock, is a spinlock. We would only lock in non-atomic context in this driver, so use a mutex instead, which is friendlier if we need to schedule when iterating. Signed-off-by: John Garry <john.g.garry@oracle.com> Link: https://lore.kernel.org/r/20230327074310.1862889-4-john.g.garry@oracle.com Acked-by: Douglas Gilbert <dgilbert@interlog.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ppa.c')
0 files changed, 0 insertions, 0 deletions