commit | f4eaf8eda89e1ae5d8274297094687245293deff | [log] [tgz] |
---|---|---|
author | Gabriel Krisman Bertazi <krisman@suse.de> | Thu May 23 17:45:35 2024 -0400 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Jun 16 14:54:55 2024 -0600 |
tree | bbcce9593a693a3ad202e3c6c7d5ec363a890bae | |
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>