diff --git a/lib/iscsi/iscsi.c b/lib/iscsi/iscsi.c index 7ec833445..c07f167b3 100644 --- a/lib/iscsi/iscsi.c +++ b/lib/iscsi/iscsi.c @@ -3754,7 +3754,7 @@ spdk_iscsi_op_abort_task_set(struct spdk_iscsi_task *task, uint8_t function) } static int -iscsi_op_task(struct spdk_iscsi_conn *conn, struct spdk_iscsi_pdu *pdu) +iscsi_pdu_hdr_op_task(struct spdk_iscsi_conn *conn, struct spdk_iscsi_pdu *pdu) { struct iscsi_bhs_task_req *reqh; uint64_t lun; @@ -4689,7 +4689,7 @@ iscsi_execute(struct spdk_iscsi_conn *conn, struct spdk_iscsi_pdu *pdu) rc = iscsi_op_scsi(conn, pdu); break; case ISCSI_OP_TASK: - rc = iscsi_op_task(conn, pdu); + rc = iscsi_pdu_hdr_op_task(conn, pdu); break; case ISCSI_OP_TEXT: