summaryrefslogtreecommitdiffstats
path: root/rust/helpers/io.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2025-04-17 10:32:33 +0100
committerJens Axboe <axboe@kernel.dk>2025-04-17 06:21:13 -0600
commit59852ebad954c8a3ac8b746930c2ea60febe797a (patch)
tree83c5d7034b6efbfd68a96a9fd57f1be38f7140df /rust/helpers/io.c
parent50169d07548441e3033b9bbaa06e573e7224f140 (diff)
downloadlinux-59852ebad954c8a3ac8b746930c2ea60febe797a.tar.gz
linux-59852ebad954c8a3ac8b746930c2ea60febe797a.tar.bz2
linux-59852ebad954c8a3ac8b746930c2ea60febe797a.zip
io_uring/rsrc: refactor io_import_fixed
io_import_fixed is a mess. Even though we know the final len of the iterator, we still assign offset + len and do some magic after to correct for that. Do offset calculation first and finalise it with iov_iter_bvec at the end. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/2d5107fed24f8b23245ef2ede9a5a7f7c426df61.1744882081.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers/io.c')
0 files changed, 0 insertions, 0 deletions