summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeff Moyer <jmoyer@redhat.com>2019-02-05 13:14:49 -0500
committerJens Axboe <axboe@kernel.dk>2019-02-05 11:37:19 -0700
commit450033065f991497b1fc423c3402d0d9fef432f3 (patch)
treed3ae44f91aa2e0d0819dc6ca46427f0bc008ed00 /src
parentbe33b0a2194ec53b94507ea1ad050c567283dd50 (diff)
io_uring_register takes 4 args
Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src')
-rw-r--r--src/liburing.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/liburing.h b/src/liburing.h
index e287f3d..9917b5b 100644
--- a/src/liburing.h
+++ b/src/liburing.h
@@ -47,7 +47,8 @@ struct io_uring {
extern int io_uring_setup(unsigned entries, struct io_uring_params *p);
extern int io_uring_enter(unsigned fd, unsigned to_submit,
unsigned min_complete, unsigned flags);
-extern int io_uring_register(int fd, unsigned int opcode, void *arg);
+extern int io_uring_register(int fd, unsigned int opcode, void *arg,
+ unsigned int nr_args);
/*
* Library interface