+10
−1
Loading
When the NVMe SSD supports multiple namespaces, we allocate the related data structures to hold the namespace related information. Add a check of valid namespace id before accessing the memory structure. Change-Id: I3176099a80f718d9470ee172a040a2ccc353aae9 Signed-off-by:GangCao <gang.cao@intel.com> Reviewed-on: https://review.gerrithub.io/427058 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>