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>
Mon, 14 Oct 2024 15:04:10 +0000 (09:04 -0600)
commited61eb79c1e79402fe84f8ab7d6338def995f4d2
treee30c7cc812d2d8564867b9c06df2649db6fd963a
parenta8829bc208598f72c62a88d35b2904dbf4967590
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