mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
qla2x00t: Correct q2t_abort_task() (merge r4457 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4633 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -4048,10 +4048,10 @@ static int q2t_abort_task(scsi_qla_host_t *ha, notify_entry_t *iocb)
|
||||
if (sess == NULL) {
|
||||
TRACE_MGMT_DBG("qla2x00t(%ld): task abort for unexisting "
|
||||
"session", ha->instance);
|
||||
res = q2t_sched_sess_work(sess->tgt, Q2T_SESS_WORK_ABORT, iocb,
|
||||
res = q2t_sched_sess_work(ha->tgt, Q2T_SESS_WORK_ABORT, iocb,
|
||||
sizeof(*iocb));
|
||||
if (res != 0)
|
||||
sess->tgt->tm_to_unknown = 1;
|
||||
ha->tgt->tm_to_unknown = 1;
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user