diff options
author | mav <mav@FreeBSD.org> | 2015-01-03 18:27:03 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2015-01-03 18:27:03 +0000 |
commit | e64ce6e7377c92eae930d1d6a616e0b2a13ca94b (patch) | |
tree | 1d35d0ac3bf18dcbb0a5cef156cab4ac3dc003c2 /sys/dev/iscsi/icl.c | |
parent | ea0e2f1d19a0f80284af7f4b1634adce4f0ba8ec (diff) | |
download | FreeBSD-src-e64ce6e7377c92eae930d1d6a616e0b2a13ca94b.zip FreeBSD-src-e64ce6e7377c92eae930d1d6a616e0b2a13ca94b.tar.gz |
MFC r274033 (by trasz):
s/icl_pdu_new/icl_pdu_new_empty/g; no functional changes.
Diffstat (limited to 'sys/dev/iscsi/icl.c')
-rw-r--r-- | sys/dev/iscsi/icl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/iscsi/icl.c b/sys/dev/iscsi/icl.c index 5c84c64..f73ef96 100644 --- a/sys/dev/iscsi/icl.c +++ b/sys/dev/iscsi/icl.c @@ -152,7 +152,7 @@ icl_conn_receive(struct icl_conn *ic, size_t len) } static struct icl_pdu * -icl_pdu_new(struct icl_conn *ic, int flags) +icl_pdu_new_empty(struct icl_conn *ic, int flags) { struct icl_pdu *ip; @@ -197,7 +197,7 @@ icl_pdu_new(struct icl_conn *ic, int flags) { struct icl_pdu *ip; - ip = icl_pdu_new(ic, flags); + ip = icl_pdu_new_empty(ic, flags); if (ip == NULL) return (NULL); @@ -547,7 +547,7 @@ icl_conn_receive_pdu(struct icl_conn *ic, size_t *availablep) if (ic->ic_receive_state == ICL_CONN_STATE_BHS) { KASSERT(ic->ic_receive_pdu == NULL, ("ic->ic_receive_pdu != NULL")); - request = icl_pdu_new(ic, M_NOWAIT); + request = icl_pdu_new_empty(ic, M_NOWAIT); if (request == NULL) { ICL_DEBUG("failed to allocate PDU; " "dropping connection"); |