io_uring: move io_rsrc_node_alloc() definition
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 9 Aug 2021 15:09:47 +0000 (09:09 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Aug 2021 23:51:41 +0000 (17:51 -0600)
commit003cda4b07d82bb1acf8f9fd6463767c64819b7a
tree0f0b51cc233cd033c729a05478c9f944954cb47b
parent0c52e5e799e4695239d81df50d692dfa6bc1d1ef
io_uring: move io_rsrc_node_alloc() definition

Move the function together with io_rsrc_node_ref_zero() in the source
file as it is to get rid of forward declarations.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/4d81f6f833e7d017860b24463a9a68b14a8a5ed2.1628471125.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c