diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-05-16 07:41:30 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-05-16 07:41:30 -0600 |
commit | 2ea05c2a5750ff36a6ee4ce33f85e2989e91be5f (patch) | |
tree | ff3594c76c1763d62cd188c6880dbfb4c98d4698 | |
parent | 7d49e22c763c33aeed399796b6188e234bb4e471 (diff) | |
download | liburing-master.tar.gz liburing-master.tar.bz2 |
No functional changes in this patch.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | src/setup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/setup.c b/src/setup.c index ff2068b..51c5e84 100644 --- a/src/setup.c +++ b/src/setup.c @@ -105,6 +105,7 @@ __cold int io_uring_queue_mmap(int fd, struct io_uring_params *p, ring->flags = p->flags; ring->ring_fd = ring->enter_ring_fd = fd; ring->int_flags = 0; + return 0; } return ret; } @@ -401,7 +402,6 @@ static struct io_uring_buf_ring *br_setup(struct io_uring *ring, } return br; - } #else static struct io_uring_buf_ring *br_setup(struct io_uring *ring, @@ -434,7 +434,6 @@ static struct io_uring_buf_ring *br_setup(struct io_uring *ring, } return br; - } #endif |