lib/iscsi: Rename PDU handling for Task Management Request
Rename iscsi_op_task() to iscsi_pdu_hdr_op_task() because Task Management Request PDU has only header and doesn't have PDU payload handling. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I66f842aecd2c1031a6bb0be4921e0f16930117aa Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/471010 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
902b467aad
commit
1f5156b1b6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user