diff options
Diffstat (limited to 'source3/modules/vfs_aio_pthread.c')
-rw-r--r-- | source3/modules/vfs_aio_pthread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_aio_pthread.c b/source3/modules/vfs_aio_pthread.c index f7756b946c..de114d1292 100644 --- a/source3/modules/vfs_aio_pthread.c +++ b/source3/modules/vfs_aio_pthread.c @@ -166,8 +166,8 @@ static void aio_open_handle_completion(struct tevent_context *event_ctx, return; } - ret = pthreadpool_finished_job(open_pool, &jobid); - if (ret) { + ret = pthreadpool_finished_jobs(open_pool, &jobid, 1); + if (ret != 1) { smb_panic("aio_open_handle_completion"); /* notreached. */ return; |