scsi: hisi_sas: free slots after hardreset
authorXiang Chen <chenxiang66@hisilicon.com>
Wed, 22 Mar 2017 17:25:28 +0000 (01:25 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 23 Mar 2017 15:12:02 +0000 (11:12 -0400)
commit6131243acd2c3aafa041935dcef44eb8255eeb46
tree0f36a944d8d1a980845a35706d9b3fbc302b0cd9
parenta305f33775c0b7202fe77cbd4cc3d7f2048efc52
scsi: hisi_sas: free slots after hardreset

After hardreset, we clear up IOs of remote disks, so we need to free
those slots in LLDD.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_main.c