io_uring: use unpin_user_pages() where appropriate
authorJens Axboe <axboe@kernel.dk>
Wed, 13 Mar 2024 21:01:03 +0000 (15:01 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 15 Apr 2024 14:10:26 +0000 (08:10 -0600)
commit18595c0a58ae29ac6a996c5b664610119b73182d
tree6add63bea7134e2584d1843b3fefbc49440e040e
parent87585b05757dc70545efb434669708d276125559
io_uring: use unpin_user_pages() where appropriate

There are a few cases of open-rolled loops around unpin_user_page(), use
the generic helper instead.

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