qla2x00t-32gbit/qla_os.c: Fix hardlockup in abort command during driver remove

See also upstream commit 5589b08e5be4 ("scsi: qla2xxx: Fix hardlockup in
abort command during driver remove") # v5.2-rc6.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8451 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-07-15 03:02:43 +00:00
parent 8166668189
commit 9574432b73
+1 -1
View File
@@ -1779,8 +1779,8 @@ static void qla2x00_abort_srb(struct qla_qpair *qp, srb_t *sp, const int res,
!test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) &&
!qla2x00_isp_reg_stat(ha))) {
sp->comp = ∁
rval = ha->isp_ops->abort_command(sp);
spin_unlock_irqrestore(qp->qp_lock_ptr, *flags);
rval = ha->isp_ops->abort_command(sp);
switch (rval) {
case QLA_SUCCESS: