diff options
author | Raghava Aditya Renukunta | 2017-12-26 20:34:44 -0800 |
---|---|---|
committer | Martin K. Petersen | 2018-01-03 23:26:43 -0500 |
commit | 3395614e48e26c6b05f87662ef354bca38999d2a (patch) | |
tree | 6ecab574a9c3bf09368a3299d9e976615b203603 /drivers/scsi/aacraid/aacraid.h | |
parent | 6f44a22b2c96acd018b407ee28407e1730370169 (diff) |
scsi: aacraid: Block concurrent hotplug event handling
Currently driver will attempt to process hotplug events concurrently based
on the FW interrupt.
Protect safw update function with a scan mutex.
Signed-off-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aacraid/aacraid.h')
-rw-r--r-- | drivers/scsi/aacraid/aacraid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h index a8fe1e1272c1..c70c998743ac 100644 --- a/drivers/scsi/aacraid/aacraid.h +++ b/drivers/scsi/aacraid/aacraid.h @@ -1565,6 +1565,7 @@ struct aac_dev spinlock_t fib_lock; struct mutex ioctl_mutex; + struct mutex scan_mutex; struct aac_queue_block *queues; /* * The user API will use an IOCTL to register itself to receive |