scsi: qla2xxx: Replace usage of spin_lock with spin_lock_irqsave
authorQuinn Tran <quinn.tran@cavium.com>
Fri, 2 Jun 2017 16:11:54 +0000 (09:11 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Jun 2017 00:48:07 +0000 (20:48 -0400)
commit8b631d87ba55f43dbd29b9e8b477301539c08815
tree65d0d4ee6fc589e5719696eb1e2041e9782c0bc6
parent3c4810ffdc8e4f34d387f59baf0abefcfa4ada6a
scsi: qla2xxx: Replace usage of spin_lock with spin_lock_irqsave

Convert usage of spin_lock to spin_lock_irqsave because qla2xxx driver
can access all the data structures in an interrupt context.

Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Bart Van Assche <Bart.VanAssche@sandisk.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_target.c