]> 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)
commit205b395ed454f456e16b0b3c3914c3aad2eb7e9d
tree23262454498310bca9380fb9423496df4f61afd3
parent8f2af1a5e342e453fd11b7abb2bf54342e708cae
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