]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitd8630bb95f46ea118dede63bd75533faa64f9612
tree845f81a334b1d0b06d24e3e539c60d06e0738914
parent94cff6e114df56d0df74cdabe3481df38d9b0c1e
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