nvmf: use same subsystem pointer
Change-Id: I834299db8310dbaf207deee5db4c1d5034f4bedd Signed-off-by: GangCao <gang.cao@intel.com>
This commit is contained in:
parent
f3b3fe5b36
commit
2ea9823c8a
@ -364,7 +364,7 @@ spdk_nvmf_request_exec(struct spdk_nvmf_request *req)
|
||||
if (subsystem->subtype == SPDK_NVMF_SUBTYPE_DISCOVERY) {
|
||||
status = nvmf_process_discovery_cmd(req);
|
||||
} else {
|
||||
status = session->subsys->ops->process_admin_cmd(req);
|
||||
status = subsystem->ops->process_admin_cmd(req);
|
||||
}
|
||||
} else {
|
||||
status = session->subsys->ops->process_io_cmd(req);
|
||||
|
Loading…
x
Reference in New Issue
Block a user