summaryrefslogtreecommitdiff
path: root/drivers/scsi/hpsa.h
diff options
context:
space:
mode:
authorDon Brace <don.brace@microsemi.com>2017-05-05 01:51:22 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2017-06-13 03:48:01 +0300
commitc59d04f30d4216af12930a4f5fdc35f490777171 (patch)
tree449ad927d52572e6294ac4073edbcb7e7e9054dc /drivers/scsi/hpsa.h
parentd2315ce6e3d09c8dbc9ee93ef6b3f5213e8325ac (diff)
downloadlinux-c59d04f30d4216af12930a4f5fdc35f490777171.tar.xz
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.h1
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 {