nvmf: Don't typedef enum in nvmf_cmd.h
This isn't SPDK's coding style. Change-Id: Ifedfd7823b45302d40031589f39bfa60e0f4dfbb Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/414 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Michael Haeuptle <michaelhaeuptle@gmail.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
ab945f32e4
commit
40ef8b34b7
@ -39,10 +39,10 @@
|
||||
#include "spdk/nvmf_transport.h"
|
||||
#include "spdk/bdev.h"
|
||||
|
||||
typedef enum _spdk_nvmf_request_exec_status {
|
||||
enum spdk_nvmf_request_exec_status {
|
||||
SPDK_NVMF_REQUEST_EXEC_STATUS_COMPLETE,
|
||||
SPDK_NVMF_REQUEST_EXEC_STATUS_ASYNCHRONOUS,
|
||||
} spdk_nvmf_request_exec_status;
|
||||
};
|
||||
|
||||
int spdk_nvmf_ctrlr_identify_ctrlr(struct spdk_nvmf_ctrlr *ctrlr,
|
||||
struct spdk_nvme_ctrlr_data *cdata);
|
||||
|
@ -2753,7 +2753,7 @@ _nvmf_request_exec(struct spdk_nvmf_request *req,
|
||||
struct spdk_nvmf_subsystem_poll_group *sgroup)
|
||||
{
|
||||
struct spdk_nvmf_qpair *qpair = req->qpair;
|
||||
spdk_nvmf_request_exec_status status;
|
||||
enum spdk_nvmf_request_exec_status status;
|
||||
|
||||
nvmf_trace_command(req->cmd, spdk_nvmf_qpair_is_admin_queue(qpair));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user