diff options
author | Jeff Moyer <jmoyer@redhat.com> | 2019-02-05 13:14:49 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-02-05 11:37:19 -0700 |
commit | 450033065f991497b1fc423c3402d0d9fef432f3 (patch) | |
tree | d3ae44f91aa2e0d0819dc6ca46427f0bc008ed00 | |
parent | be33b0a2194ec53b94507ea1ad050c567283dd50 (diff) |
io_uring_register takes 4 args
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | src/liburing.h | 3 |
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 |