io_uring/msg_ring: refactor a few helper functions
authorJens Axboe <axboe@kernel.dk>
Tue, 24 Sep 2024 11:57:30 +0000 (05:57 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 Oct 2024 19:43:26 +0000 (13:43 -0600)
commit95d6c9229a04cc12d39034cd6be6446a55a85d6d
treec54682001289823e9f99b57d73ef9e208e800cd1
parentf4bb2f65bb8154c1a2c2d7e01db0c98dffb5918f
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.

Link: https://lore.kernel.org/r/20240924115932.116167-2-axboe@kernel.dk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/msg_ring.c