io_uring: enable io_mem_alloc/free to be used in other parts
authorJens Axboe <axboe@kernel.dk>
Tue, 28 Nov 2023 03:53:52 +0000 (20:53 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Dec 2023 07:52:20 +0000 (08:52 +0100)
commit4ca5f54af7d3b60613991b201223c2dc6ebdf1c8
tree2ee084f1d88c74c1c445be440fea043514cfcdab
parent4a1a4bf2261e0772d780a98fabfbed718b83ba3a
io_uring: enable io_mem_alloc/free to be used in other parts

commit edecf1689768452ba1a64b7aaf3a47a817da651a upstream.

In preparation for using these helpers, make them non-static and add
them to our internal header.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
io_uring/io_uring.c
io_uring/io_uring.h