summaryrefslogtreecommitdiffstats
path: root/io_uring/io_uring.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2024-04-10 02:26:51 +0100
committerJens Axboe <axboe@kernel.dk>2024-04-15 08:10:26 -0600
commita5bff51850c8d533f3696d45749ab169dd49f8dd (patch)
tree1dbdece94a3c8ceaaf0196688d48d2643d3681a0 /io_uring/io_uring.c
parent8c9a6f549e65912825e31dc1e0e3f7995984649d (diff)
downloadlinux-a5bff51850c8d533f3696d45749ab169dd49f8dd.tar.gz
linux-a5bff51850c8d533f3696d45749ab169dd49f8dd.tar.bz2
linux-a5bff51850c8d533f3696d45749ab169dd49f8dd.zip
io_uring: unexport io_req_cqe_overflow()
There are no users of io_req_cqe_overflow() apart from io_uring.c, make it static. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/f4295eb2f9eb98d5db38c0578f57f0b86bfe0d8c.1712708261.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io_uring.c')
-rw-r--r--io_uring/io_uring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c
index b7984442dd84..454d1d7695f6 100644
--- a/io_uring/io_uring.c
+++ b/io_uring/io_uring.c
@@ -819,7 +819,7 @@ static bool io_cqring_event_overflow(struct io_ring_ctx *ctx, u64 user_data,
return true;
}
-void io_req_cqe_overflow(struct io_kiocb *req)
+static void io_req_cqe_overflow(struct io_kiocb *req)
{
io_cqring_event_overflow(req->ctx, req->cqe.user_data,
req->cqe.res, req->cqe.flags,