commit | da7b66e720dcfb6754d6e3310a7ef315009b13db | [log] [tgz] |
---|---|---|
author | John Garry <john.garry@huawei.com> | Tue Jan 03 20:24:50 2017 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu Jan 05 18:24:11 2017 -0500 |
tree | 6994fd43321b582fb4de1d542046d26354e6ec7b | |
parent | 64d63187325884b96f684f1d839ec5d5ce231b92 [diff] |
scsi: hisi_sas: lock sensitive region in hisi_sas_slot_abort() When we call hisi_sas_slot_task_free() we should grab the hisi_hba.lock, as hisi_sas_slot_task_free() accesses common hisi_hba elements. Function hisi_sas_slot_abort() is missing this, so add it. Signed-off-by: John Garry <john.garry@huawei.com> Reviewed-by: Zhangfei Gao <zhangfei.gao@linaro.org> Tested-by: Hanjun Guo <hanjun.guo@linaro.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>