commit | 54c9dd2d26d0951891516a956893428feb9aea17 | [log] [tgz] |
---|---|---|
author | John Garry <john.garry@huawei.com> | Thu Mar 23 01:25:29 2017 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu Mar 23 11:12:02 2017 -0400 |
tree | 014a525f797ac38118bd9a1b737d0e73e7c42fbe | |
parent | 6131243acd2c3aafa041935dcef44eb8255eeb46 [diff] |
scsi: hisi_sas: fix some sas_task.task_state_lock locking Some more locking needs to be added/modified for when read-modify-writing sas_task.task_state_flags. Note: since we can attempt to grab this lock in interrupt context we should use irq variant of spin_lock. Signed-off-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>