Mikhail Malygin 49d7bd3681 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: 1c6cacf4ea6c04 ("scsi: qla2xxx: Fixup locking for session deletion")
Cc: <stable@vger.kernel.org> #v4.17
Signed-off-by: Mikhail Malygin <m.malygin@yadro.com>
Reported-by: Mikhail Malygin <m.malygin@yadro.com>
Tested-by: Mikhail Malygin <m.malygin@yadro.com>
Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-06-18 21:02:52 -04:00
..
2018-06-14 16:35:32 +09:00
2018-06-14 16:35:32 +09:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-14 16:35:32 +09:00
2018-06-10 13:01:12 -07:00
2018-06-12 16:19:22 -07:00
2018-06-10 13:01:12 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2017-12-04 20:32:53 -05:00
2018-05-01 23:31:40 -04:00
2017-08-25 17:21:11 -04:00
2018-06-12 16:19:22 -07:00
2017-08-24 22:29:06 -04:00
2018-05-18 12:03:51 -04:00
2018-06-14 16:35:32 +09:00
2017-08-25 17:21:10 -04:00
2018-06-18 21:02:52 -04:00
2018-06-12 16:19:22 -07:00
2018-06-10 13:01:12 -07:00
2018-05-16 07:24:30 +02:00
2018-06-10 13:01:12 -07:00
2017-11-14 16:23:44 -08:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-10 13:01:12 -07:00
2018-06-10 13:01:12 -07:00
2017-11-14 16:23:44 -08:00
2017-04-13 13:58:20 -04:00
2018-06-10 13:01:12 -07:00
2018-06-04 07:58:06 -07:00
2018-06-14 16:35:32 +09:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2017-04-26 18:32:29 -04:00
2018-06-10 13:01:12 -07:00
2018-05-01 23:30:12 -04:00