From 7ff4d22d4c69951b89e1cc03c5cd6fcfc24184fc Mon Sep 17 00:00:00 2001 From: Shuhei Matsumoto Date: Sun, 8 Dec 2019 20:15:03 -0500 Subject: [PATCH] lib/iscsi: Move declaration of spdk_iscsi_task_mgmt_cpl from iscsi.h to conn.h spdk_iscsi_task_mgmt_cpl()'s function body is in conn.c, and so move its declaration from iscsi.h to conn.h. Signed-off-by: Shuhei Matsumoto Change-Id: Idd22c360ce1d3d464bf782e21348425ae7debdd8 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/477188 Tested-by: SPDK CI Jenkins Community-CI: SPDK CI Jenkins Reviewed-by: Jim Harris Reviewed-by: Changpeng Liu --- lib/iscsi/conn.h | 1 + lib/iscsi/iscsi.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/iscsi/conn.h b/lib/iscsi/conn.h index 637580354..d8b8f96fd 100644 --- a/lib/iscsi/conn.h +++ b/lib/iscsi/conn.h @@ -202,6 +202,7 @@ struct spdk_iscsi_conn { extern struct spdk_iscsi_conn *g_conns_array; void spdk_iscsi_task_cpl(struct spdk_scsi_task *scsi_task); +void spdk_iscsi_task_mgmt_cpl(struct spdk_scsi_task *scsi_task); int spdk_initialize_iscsi_conns(void); void spdk_shutdown_iscsi_conns(void); diff --git a/lib/iscsi/iscsi.h b/lib/iscsi/iscsi.h index 1811528aa..352a3e43c 100644 --- a/lib/iscsi/iscsi.h +++ b/lib/iscsi/iscsi.h @@ -429,7 +429,6 @@ void spdk_clear_all_transfer_task(struct spdk_iscsi_conn *conn, bool spdk_del_transfer_task(struct spdk_iscsi_conn *conn, uint32_t CmdSN); bool spdk_iscsi_is_deferred_free_pdu(struct spdk_iscsi_pdu *pdu); -void spdk_iscsi_task_mgmt_cpl(struct spdk_scsi_task *scsi_task); uint32_t spdk_iscsi_pdu_calc_header_digest(struct spdk_iscsi_pdu *pdu); uint32_t spdk_iscsi_pdu_calc_data_digest(struct spdk_iscsi_pdu *pdu);