diff options
author | Gabriel Krisman Bertazi <krisman@suse.de> | 2024-05-23 17:45:35 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-06-16 14:54:55 -0600 |
commit | f4eaf8eda89e1ae5d8274297094687245293deff (patch) | |
tree | bbcce9593a693a3ad202e3c6c7d5ec363a890bae /scripts/lib/kdoc/kdoc_parser.py | |
parent | 81cc927d9c5eefd4a1b08e16b0ab2263f36d03f7 (diff) |
io_uring/rsrc: Drop io_copy_iov in favor of iovec API
Instead of open coding an io_uring function to copy iovs from userspace,
rely on the existing iovec_from_user function. While there, avoid
repeatedly zeroing the iov in the !arg case for io_sqe_buffer_register.
tested with liburing testsuite.
Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de>
Link: https://lore.kernel.org/r/20240523214535.31890-1-krisman@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions