From dc772e543f3d7c3ce299c2f3c3b9c201493bcfeb Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Wed, 31 May 2017 00:37:27 -0700 Subject: [PATCH] test/blobfs/blobfs_sync: fix build after API change Fixes: commit 18bc3a5 ("test/blobfs: Test create sync file") Change-Id: Ic4465d0ae0536baa925a4516529da0faf9a21c45 Signed-off-by: Daniel Verkamp --- test/lib/blobfs/blobfs_sync_ut/blobfs_sync_ut.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/lib/blobfs/blobfs_sync_ut/blobfs_sync_ut.c b/test/lib/blobfs/blobfs_sync_ut/blobfs_sync_ut.c index 586697166..491e39327 100644 --- a/test/lib/blobfs/blobfs_sync_ut/blobfs_sync_ut.c +++ b/test/lib/blobfs/blobfs_sync_ut/blobfs_sync_ut.c @@ -219,8 +219,8 @@ fs_create_sync(void) ut_send_request(_fs_init, NULL); - spdk_allocate_thread(); - channel = spdk_fs_alloc_io_channel_sync(g_fs, SPDK_IO_PRIORITY_DEFAULT); + spdk_allocate_thread(_fs_send_msg, NULL); + channel = spdk_fs_alloc_io_channel_sync(g_fs); CU_ASSERT(channel != NULL); rc = spdk_fs_create_file(g_fs, channel, "testfile");