summaryrefslogtreecommitdiff
path: root/src/queue.c
diff options
context:
space:
mode:
authorJeff Moyer <jmoyer@redhat.com>2019-02-08 13:32:21 -0500
committerJens Axboe <axboe@kernel.dk>2019-02-08 11:33:28 -0700
commit3ceb15c1327e6bb6105a0dec97421308e5567f02 (patch)
treea09828caf907465542d8cce7e0b95d743b66c2f0 /src/queue.c
parent9f3bec5b0917e94be2f8020cff937a585b5d4ddd (diff)
Add sigmask parameter to io_uring_enter
Update liburing and io_uring_enter.2 to match the kernel. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src/queue.c')
-rw-r--r--src/queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/queue.c b/src/queue.c
index b8788b3..f2b73a4 100644
--- a/src/queue.c
+++ b/src/queue.c
@@ -29,7 +29,7 @@ static int __io_uring_get_completion(struct io_uring *ring,
if (!wait)
break;
ret = io_uring_enter(ring->ring_fd, 0, 1,
- IORING_ENTER_GETEVENTS);
+ IORING_ENTER_GETEVENTS, NULL, _NSIG / 8);
if (ret < 0)
return -errno;
} while (1);
@@ -112,7 +112,7 @@ int io_uring_submit(struct io_uring *ring)
submit:
return io_uring_enter(ring->ring_fd, submitted, 0,
- IORING_ENTER_GETEVENTS);
+ IORING_ENTER_GETEVENTS, NULL, _NSIG / 8);
}
/*