commit | d8630bb95f46ea118dede63bd75533faa64f9612 | [log] [tgz] |
---|---|---|
author | Quinn Tran <quinn.tran@cavium.com> | Thu Dec 28 12:33:43 2017 -0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Jan 03 23:41:08 2018 -0500 |
tree | 845f81a334b1d0b06d24e3e539c60d06e0738914 | |
parent | 94cff6e114df56d0df74cdabe3481df38d9b0c1e [diff] |
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>