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 19:52:06 +0000 (13:52 -0600)
commit0e9b6236cc65f159ebab684a1f329f3eeb9f87a5
treeb6b15642545c91dc23429fcbad8c9b3ef123d4cc
parent1fd1d2c4af32b3b3f4548cfd9d4f988b0b029e38
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