conf.c: update num_hosts after parsing. (#125)
The number of hosts are not updated after parsing.
This commit is contained in:
parent
f401557392
commit
2343b2ce22
@ -380,6 +380,7 @@ spdk_nvmf_parse_subsystem(struct spdk_conf_section *sp)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
num_hosts = i;
|
||||||
|
|
||||||
bdf = spdk_conf_section_get_val(sp, "NVMe");
|
bdf = spdk_conf_section_get_val(sp, "NVMe");
|
||||||
sn = spdk_conf_section_get_val(sp, "SN");
|
sn = spdk_conf_section_get_val(sp, "SN");
|
||||||
|
Loading…
Reference in New Issue
Block a user