bdev: update the name of Passthru section

Change-Id: I28fa033378649f9cf02bf216698b9d2058f77c9d
Signed-off-by: GangCao <gang.cao@intel.com>
Reviewed-on: https://review.gerrithub.io/406883
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
GangCao 2018-04-07 18:49:10 -04:00 committed by Daniel Verkamp
parent 565932d27a
commit 9bad29c18c
2 changed files with 3 additions and 3 deletions

View File

@ -309,7 +309,7 @@ vbdev_passthru_init(void)
struct bdev_names *name;
int i;
sp = spdk_conf_find_section(NULL, "passthru");
sp = spdk_conf_find_section(NULL, "Passthru");
if (sp == NULL) {
return 0;
}
@ -390,7 +390,7 @@ vbdev_passthru_get_spdk_running_config(FILE *fp)
{
struct bdev_names *names = NULL;
fprintf(fp, "\n[passthru]\n");
fprintf(fp, "\n[Passthru]\n");
TAILQ_FOREACH(names, &g_bdev_names, link) {
fprintf(fp, " PT %s %s ", names->bdev_name, names->vbdev_name);
fprintf(fp, "\n");

View File

@ -1,4 +1,4 @@
[passthru]
[Passthru]
# PT <bdev name> <vbdev name>
PT Malloc3 TestPT