Loading
nvme_manage: Fix a bug of uninitialized namespace
Uninitialized namespace struct will be all zeros. Some drive might have multiple namespaces but not initialized. nvme_manage will get to segment fault when this happens. This patch is to fix this. Change-Id: I8ea5bf3d7c29cf876fbea3d1bee22b95748d3b8a Signed-off-by:Chunyang Hui <chunyang.hui@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/447414 Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>