io_uring: unify io_pin_pages()
authorJens Axboe <axboe@kernel.dk>
Wed, 13 Mar 2024 20:58:14 +0000 (14:58 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 29 Mar 2024 15:34:41 +0000 (09:34 -0600)
commit87c6b21cca26058db2a2c9ba7ce2bc9176ecd81f
treecb6f7777cc78e0cd8b59ae80fab49cd8590992d9
parent406cd1a1ef52116a23cedf5193f83649de55e787
io_uring: unify io_pin_pages()

Move it into io_uring.c where it belongs, and use it in there as well
rather than have two implementations of this.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c
io_uring/rsrc.c