Just fall through to the old code if the new one fails.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
&ld->aio_ctx);
if (!ret)
return 0;
-
- return fio_libaio_old_queue_init(ld, depth, hipri, useriocb);
-#else
- return fio_libaio_old_queue_init(ld, depth, hipri, useriocb);
+ /* fall through to old syscall */
#endif
+ return fio_libaio_old_queue_init(ld, depth, hipri, useriocb);
}
static int fio_libaio_init(struct thread_data *td)