Fix build.

This commit is contained in:
Xin LI 2020-03-01 18:55:59 +00:00
parent a11c38d321
commit 5082c36629
2 changed files with 4 additions and 4 deletions

View file

@ -514,7 +514,7 @@ proc_out(isc_session_t *sp)
if(pq->ccb) {
xdebug("back to cam");
pq->ccb->ccb_h.status |= CAM_REQUEUE_REQ; // some better error?
xpt_done(sp, pq->ccb);
xpt_done(pq->ccb);
pdu_free(sp->isc, pq);
}
else
@ -747,4 +747,4 @@ ism_start(isc_session_t *sp)
debug(4, "starting ism_proc: sp->sid=%d", sp->sid);
return kproc_create(ism_out, sp, &sp->stp, 0, 0, "isc_out %d", sp->sid);
a}
}

View file

@ -248,7 +248,7 @@ _scsi_done(isc_session_t *sp, u_int response, u_int status, union ccb *ccb, pduq
}
sdebug(5, "ccb_h->status=%x", ccb_h->status);
xpt_done(sp, ccb);
xpt_done(ccb);
}
/*
@ -408,7 +408,7 @@ iscsi_reject(isc_session_t *sp, pduq_t *opq, pduq_t *pq)
debug_called(8);
//XXX: check RFC 10.17.1 (page 176)
ccb->ccb_h.status = CAM_REQ_ABORTED;
xpt_done(sp, ccb);
xpt_done(ccb);
pdu_free(sp->isc, opq);
}