Commit 3630f477 authored by Changpeng Liu's avatar Changpeng Liu
Browse files

examples/nvme/arbitration: resize global features variable



Only SPDK_NVME_FEAT_ARBITRATION feature bit was used.

Change-Id: Ic81ae6d63716d648aee13dc656ff4172deaba898
Signed-off-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/463486


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
parent a2dcdde2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ static struct ctrlr_entry *g_controllers = NULL;
static struct ns_entry *g_namespaces		= NULL;
static struct worker_thread *g_workers		= NULL;

static struct feature features[256];
static struct feature features[SPDK_NVME_FEAT_ARBITRATION + 1] = {};

static struct arb_context g_arbitration = {
	.shm_id					= -1,