diff options
author | John Garry <[email protected]> | 2023-03-27 07:43:02 +0000 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-04-02 22:09:21 -0400 |
commit | 0aaa3fad4fd931ba3accac3a1fcc7334ca780591 (patch) | |
tree | 6ad4b58ebf2f0a64a9eda5aaa66ab3c7350fbceb /drivers/usb/cdns3/cdns3-debug.h | |
parent | 00f9d622e8b237d8403569ee51f7bfb9bf89a2d5 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Douglas Gilbert <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions