]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Serialize session deletion by using work_lock
authorQuinn Tran <quinn.tran@cavium.com>
Thu, 28 Dec 2017 20:33:43 +0000 (12:33 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Jan 2018 04:41:08 +0000 (23:41 -0500)
commitfe8f2261e389e73ad28e84a0ae04bce380cd9331
tree845f81a334b1d0b06d24e3e539c60d06e0738914
parenteb2094d99e6db3822c095b90ffd230e6b075d112
scsi: qla2xxx: Serialize session deletion by using work_lock

for session deletion, replace sess_lock with work_lock.
Under certain case sess_lock is not feasiable to acquire.
The lock is needed temporarily to make sure a single
call to schedule of the work element.

Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_gbl.h
drivers/scsi/qla2xxx/qla_gs.c
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_mbx.c
drivers/scsi/qla2xxx/qla_os.c
drivers/scsi/qla2xxx/qla_target.c