]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring/kbuf: move io_ring_head_to_buf() to kbuf.h
authorJens Axboe <axboe@kernel.dk>
Mon, 12 Aug 2024 15:25:36 +0000 (09:25 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 29 Aug 2024 14:44:42 +0000 (08:44 -0600)
commit2c8fa70bf3e981193ecda0eedf2100f933ef7085
tree7885bd00d47328f81951f225eed52bd596f78a4a
parentecd5c9b29643f383d39320e30d21b8615bd893da
io_uring/kbuf: move io_ring_head_to_buf() to kbuf.h

In preparation for using this helper in kbuf.h as well, move it there and
turn it into a macro.

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