io_uring: move io_init_req()'s definition
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 18 Feb 2021 18:29:40 +0000 (18:29 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 18 Feb 2021 20:13:18 +0000 (13:13 -0700)
commitb16fed66bc7dca1a5dfd0af8991e9f58b5ef8d5f
tree5fb9d616d6c63f7e440cce8b1425dd350b8e7066
parent441960f3b9b8ee6aeea847e3e67093e0840e7059
io_uring: move io_init_req()'s definition

A preparation patch, symbol to symbol move io_init_req() +
io_check_restriction() a bit up. The submission path is pretty settled
down, so don't worry about backports and move the functions instead of
relying on forward declarations in the future.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c