lib/iscsi: Rename PDU handling for Logout Request
Rename iscsi_op_logout() to iscsi_pdu_hdr_op_logout() because Logout Request PDU has only header and doesn't have PDU payload handling. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Id788e5da56ee51b311cff2ec448c5cf0492ace13 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/471009 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
1f5156b1b6
commit
83249da4a8
@ -2470,7 +2470,7 @@ iscsi_op_text(struct spdk_iscsi_conn *conn, struct spdk_iscsi_pdu *pdu)
|
||||
}
|
||||
|
||||
static int
|
||||
iscsi_op_logout(struct spdk_iscsi_conn *conn, struct spdk_iscsi_pdu *pdu)
|
||||
iscsi_pdu_hdr_op_logout(struct spdk_iscsi_conn *conn, struct spdk_iscsi_pdu *pdu)
|
||||
{
|
||||
struct spdk_iscsi_pdu *rsp_pdu;
|
||||
uint32_t task_tag;
|
||||
@ -4697,7 +4697,7 @@ iscsi_execute(struct spdk_iscsi_conn *conn, struct spdk_iscsi_pdu *pdu)
|
||||
break;
|
||||
|
||||
case ISCSI_OP_LOGOUT:
|
||||
rc = iscsi_op_logout(conn, pdu);
|
||||
rc = iscsi_pdu_hdr_op_logout(conn, pdu);
|
||||
break;
|
||||
|
||||
case ISCSI_OP_SCSI_DATAOUT:
|
||||
|
Loading…
x
Reference in New Issue
Block a user