diff options
author | Don Brace <don.brace@microsemi.com> | 2017-05-05 00:51:22 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-06-13 02:48:01 +0200 |
commit | c59d04f30d4216af12930a4f5fdc35f490777171 (patch) | |
tree | 449ad927d52572e6294ac4073edbcb7e7e9054dc /drivers/scsi/hpsa.h | |
parent | scsi: hpsa: correct resets on retried commands (diff) | |
download | linux-c59d04f30d4216af12930a4f5fdc35f490777171.tar.xz linux-c59d04f30d4216af12930a4f5fdc35f490777171.zip |
scsi: hpsa: cleanup reset handler
- mark device state sooner.
Reviewed-by: Scott Benesh <scott.benesh@microsemi.com>
Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/hpsa.h')
-rw-r--r-- | drivers/scsi/hpsa.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/hpsa.h b/drivers/scsi/hpsa.h index 6f04f2ad4125..5352664a9f15 100644 --- a/drivers/scsi/hpsa.h +++ b/drivers/scsi/hpsa.h @@ -301,6 +301,7 @@ struct ctlr_info { struct mutex reset_mutex; u8 reset_in_progress; struct hpsa_sas_node *sas_host; + spinlock_t reset_lock; }; struct offline_device_entry { |