]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add io_pin_pages() helper
authorJens Axboe <axboe@kernel.dk>
Thu, 28 Apr 2022 19:02:27 +0000 (13:02 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 18 May 2022 12:12:42 +0000 (06:12 -0600)
commit74bb2881d9d39cd6c349c2f25332661b1114c1c8
tree23262454498310bca9380fb9423496df4f61afd3
parent3c2e13520904ba7b898dc37096f22cf843aab251
io_uring: add io_pin_pages() helper

Abstract this out from io_sqe_buffer_register() so we can use it
elsewhere too without duplicating this code.

No intended functional changes in this patch.

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