f4e3f59e0e
The nvme_transport_ctrlr_scan() may return failure while there are multiple controllers, so the probe context's init_ctrlrs list may not null for this case, so when free the probe context, let's ensure there is no controller in the init_ctrlrs list. Also added a UT to cover this case. Fix issue #1095. Change-Id: I4d9a10ad73cf00bbe159edd1f5b919797333feb6 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/476969 Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
bdev | ||
blob | ||
blobfs | ||
event | ||
ftl | ||
ioat | ||
iscsi | ||
json | ||
jsonrpc | ||
log | ||
lvol | ||
notify | ||
nvme | ||
nvmf | ||
reduce | ||
scsi | ||
sock | ||
thread | ||
util | ||
vhost | ||
json_mock.c | ||
Makefile |