diff options
author | Xiang Chen <chenxiang66@hisilicon.com> | 2021-12-20 19:21:27 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-12-22 23:38:29 -0500 |
commit | 42159d3c8d879e8d5fc225733f0cedc8baf19002 (patch) | |
tree | 9f013c185ba121638a1ef6939629093b99d6bdfe /drivers/scsi/libsas/sas_init.c | |
parent | 6e1fcab00a23f7fe9f4fe9704905a790efa1eeab (diff) |
scsi: libsas: Add spin_lock/unlock() to protect asd_sas_port->phy_list
Most places that use asd_sas_port->phy_list in libsas are protected by
spinlock asd_sas_port->phy_list_lock. However, there are still a few places
which miss the lock. Add it in those places.
Link: https://lore.kernel.org/r/1639999298-244569-5-git-send-email-chenxiang66@hisilicon.com
Reviewed-by: John Garry <john.garry@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libsas/sas_init.c')
0 files changed, 0 insertions, 0 deletions