app: add missing spdk_app_fini call
Change-Id: Iad400c03b66f5382846cd62f815bcb4f920795e4 Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Reviewed-on: https://review.gerrithub.io/417288 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Seth Howell <seth.howell5141@gmail.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
parent
93fca0e79f
commit
69a762ca52
@ -77,6 +77,6 @@ main(int argc, char **argv)
|
|||||||
|
|
||||||
/* Blocks until the application is exiting */
|
/* Blocks until the application is exiting */
|
||||||
rc = spdk_app_start(&opts, nvmf_tgt_started, NULL, NULL);
|
rc = spdk_app_start(&opts, nvmf_tgt_started, NULL, NULL);
|
||||||
|
spdk_app_fini();
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
@ -119,5 +119,7 @@ main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
rc = spdk_app_start(&opts, spdk_tgt_started, NULL, NULL);
|
rc = spdk_app_start(&opts, spdk_tgt_started, NULL, NULL);
|
||||||
|
spdk_app_fini();
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
@ -141,6 +141,7 @@ main(int argc, char **argv)
|
|||||||
opts.max_delay_us = 1000 * 1000;
|
opts.max_delay_us = 1000 * 1000;
|
||||||
|
|
||||||
ch = spdk_app_start(&opts, stub_start, (void *)(intptr_t)opts.shm_id, NULL);
|
ch = spdk_app_start(&opts, stub_start, (void *)(intptr_t)opts.shm_id, NULL);
|
||||||
|
spdk_app_fini();
|
||||||
|
|
||||||
return ch;
|
return ch;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user