Skip to content
Commit 49d7bd36 authored by Mikhail Malygin's avatar Mikhail Malygin Committed by Martin K. Petersen
Browse files

scsi: qla2xxx: Spinlock recursion in qla_target



The patch reverts changes done in qlt_schedule_sess_for_deletion() to
avoid spinlock recursion sess->vha->work_lock should be used instead
of ha->tgt.sess_lock, that can be locked in callers: qlt_reset() or
qlt_handle_login()

[mkp: roll in build warning reported by sfr]

Fixes: 1c6cacf4 ("scsi: qla2xxx: Fixup locking for session deletion")
Cc: <stable@vger.kernel.org> #v4.17
Signed-off-by: default avatarMikhail Malygin <m.malygin@yadro.com>
Reported-by: default avatarMikhail Malygin <m.malygin@yadro.com>
Tested-by: default avatarMikhail Malygin <m.malygin@yadro.com>
Acked-by: default avatarHimanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent f2233a33
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment