From cb4f94fa003e14b1b76b041af6489e7bae6a7cab Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 4 Dec 2018 11:17:29 -0700 Subject: [PATCH] engines/libaio: update for newer io_setup2() system call Signed-off-by: Jens Axboe --- engines/libaio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/libaio.c b/engines/libaio.c index a780b2b8..acd10c99 100644 --- a/engines/libaio.c +++ b/engines/libaio.c @@ -454,7 +454,7 @@ static int fio_libaio_queue_init(struct libaio_data *ld, unsigned int depth, flags |= IOCTX_FLAG_FIXEDBUFS; ret = syscall(__NR_sys_io_setup2, depth, flags, ld->user_iocbs, - &ld->aio_ctx); + NULL, NULL, &ld->aio_ctx); if (!ret) return 0; /* fall through to old syscall */ -- 2.25.1