lib/iscsi: Rename PDU handling for SNACK Request
Rename iscsi_op_snack() to iscsi_pdu_hdr_op_snack() because SNACK Request PDU has only header and doesn't have PDU payload handling. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I4d236c7963588729c32566e2be80db899edd2828 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/471012 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
parent
83249da4a8
commit
c53e1e0d84
@ -4323,7 +4323,7 @@ reject_return:
|
|||||||
|
|
||||||
/* This function is used to handle the snack request from the initiator */
|
/* This function is used to handle the snack request from the initiator */
|
||||||
static int
|
static int
|
||||||
iscsi_op_snack(struct spdk_iscsi_conn *conn, struct spdk_iscsi_pdu *pdu)
|
iscsi_pdu_hdr_op_snack(struct spdk_iscsi_conn *conn, struct spdk_iscsi_pdu *pdu)
|
||||||
{
|
{
|
||||||
struct iscsi_bhs_snack_req *reqh;
|
struct iscsi_bhs_snack_req *reqh;
|
||||||
struct spdk_iscsi_task *task;
|
struct spdk_iscsi_task *task;
|
||||||
@ -4705,7 +4705,7 @@ iscsi_execute(struct spdk_iscsi_conn *conn, struct spdk_iscsi_pdu *pdu)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case ISCSI_OP_SNACK:
|
case ISCSI_OP_SNACK:
|
||||||
rc = iscsi_op_snack(conn, pdu);
|
rc = iscsi_pdu_hdr_op_snack(conn, pdu);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user