nvme: Don't add discovery controller to attached_ctrlrs list.
Change-Id: I214b9291cc8f54928bdeb6f078d473661edfebfc Signed-off-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
03f84b5bbf
commit
aa3d7381cc
@ -1158,7 +1158,6 @@ nvme_rdma_ctrlr_scan(enum spdk_nvme_transport transport,
|
||||
return -1;
|
||||
}
|
||||
|
||||
TAILQ_INSERT_TAIL(&g_spdk_nvme_driver->attached_ctrlrs, discovery_ctrlr, tailq);
|
||||
rc = nvme_fabrics_get_log_discovery_page(discovery_ctrlr, buffer);
|
||||
if (rc < 0) {
|
||||
SPDK_ERRLOG("nvme_fabrics_get_log_discovery_page error\n");
|
||||
|
Loading…
Reference in New Issue
Block a user