io_uring: move up io_put_kbuf() and io_put_rw_kbuf()
authorHao Xu <haoxu@linux.alibaba.com>
Sun, 5 Dec 2021 14:37:57 +0000 (14:37 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 5 Dec 2021 15:56:24 +0000 (08:56 -0700)
commit3648e5265cfa51492a65ee5a01f151807ec46dee
tree73592ad216a06d7554f906cc8d26a6ec670def69
parent2087009c74d41ab8579f08157bca55b7d0857ee5
io_uring: move up io_put_kbuf() and io_put_rw_kbuf()

Move them up to avoid explicit declaration. We will use them in later
patches.

Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Hao Xu <haoxu@linux.alibaba.com>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/3631243d6fc4a79bbba0cd62597fc8cd5be95924.1638714983.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c