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>
Mon, 23 Aug 2021 19:07:59 +0000 (13:07 -0600)
commitb9bd2bea0f22f502019266dce368a9cd477ac721
tree423ce849c6eebb1d8ba472d71098cde46897dac7
parent6a290a1442b45afb55d6a87619b716e5031d7c3e
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