nvmf: make nvmf_ctrlr_process_fabrics_cmd() as a static function
Unlike ADMIN and IO commands, the FABRIC command is only processed in the ctrlr.c file. Change-Id: Ic4e01c7f81c98631a2c7cb603343b301f8ba63e1 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4307 Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
fa5801703c
commit
778e4c0020
@ -2684,7 +2684,7 @@ invalid_opcode:
|
||||
return SPDK_NVMF_REQUEST_EXEC_STATUS_COMPLETE;
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
nvmf_ctrlr_process_fabrics_cmd(struct spdk_nvmf_request *req)
|
||||
{
|
||||
struct spdk_nvmf_qpair *qpair = req->qpair;
|
||||
|
@ -298,7 +298,6 @@ void nvmf_get_discovery_log_page(struct spdk_nvmf_tgt *tgt, const char *hostnqn,
|
||||
uint32_t iovcnt, uint64_t offset, uint32_t length);
|
||||
|
||||
void nvmf_ctrlr_destruct(struct spdk_nvmf_ctrlr *ctrlr);
|
||||
int nvmf_ctrlr_process_fabrics_cmd(struct spdk_nvmf_request *req);
|
||||
int nvmf_ctrlr_process_admin_cmd(struct spdk_nvmf_request *req);
|
||||
int nvmf_ctrlr_process_io_cmd(struct spdk_nvmf_request *req);
|
||||
bool nvmf_ctrlr_dsm_supported(struct spdk_nvmf_ctrlr *ctrlr);
|
||||
|
Loading…
Reference in New Issue
Block a user