bdevio: call shutdown on proper thread

Fixed a typo introduced in patch 90440e1fe1.

Fixes: 90440e1fe1 ("test/bdevio: do unit tests on their own thread")

Change-Id: I15a6c5366435f5d84e171f443182f292d4f7a0e3
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/383431
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Dariusz Stojaczyk 2017-10-23 16:42:19 +02:00 committed by Daniel Verkamp
parent e6c4c8a15c
commit 830701b498

View File

@ -845,7 +845,8 @@ stop_init_thread(unsigned num_failures)
{ {
struct spdk_event *event; struct spdk_event *event;
event = spdk_event_allocate(LCORE_ID_UT, __stop_init_thread, (void *)(uintptr_t)num_failures, NULL); event = spdk_event_allocate(LCORE_ID_INIT, __stop_init_thread,
(void *)(uintptr_t)num_failures, NULL);
spdk_event_call(event); spdk_event_call(event);
} }