io_uring/msg_ring: refactor a few helper functions
authorJens Axboe <axboe@kernel.dk>
Mon, 23 Sep 2024 14:18:07 +0000 (08:18 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 24 Sep 2024 19:31:37 +0000 (13:31 -0600)
commitd6e15750337a8a71af5b02ff7fa622d89e7a315f
tree0b59dff5734cedf1c51ecbc5a6989072431f036c
parent5061e277690ba508a00b5d70320cd8a9be8acead
io_uring/msg_ring: refactor a few helper functions

Mostly just to skip them taking an io_kiocb, rather just pass in the
ctx and io_msg directly.

In preparation for being able to issue a MSG_RING request without
having an io_kiocb. No functional changes in this patch.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/msg_ring.c