svn commit: r358496 - head/sys/dev/iscsi_initiator
Xin LI
delphij at FreeBSD.org
Sun Mar 1 18:56:00 UTC 2020
Author: delphij
Date: Sun Mar 1 18:55:59 2020
New Revision: 358496
URL: https://svnweb.freebsd.org/changeset/base/358496
Log:
Fix build.
Modified:
head/sys/dev/iscsi_initiator/isc_sm.c
head/sys/dev/iscsi_initiator/iscsi_subr.c
Modified: head/sys/dev/iscsi_initiator/isc_sm.c
==============================================================================
--- head/sys/dev/iscsi_initiator/isc_sm.c Sun Mar 1 18:18:11 2020 (r358495)
+++ head/sys/dev/iscsi_initiator/isc_sm.c Sun Mar 1 18:55:59 2020 (r358496)
@@ -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}
+}
Modified: head/sys/dev/iscsi_initiator/iscsi_subr.c
==============================================================================
--- head/sys/dev/iscsi_initiator/iscsi_subr.c Sun Mar 1 18:18:11 2020 (r358495)
+++ head/sys/dev/iscsi_initiator/iscsi_subr.c Sun Mar 1 18:55:59 2020 (r358496)
@@ -248,7 +248,7 @@ _scsi_done(isc_session_t *sp, u_int response, u_int st
}
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 *p
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);
}
More information about the svn-src-head
mailing list