commit | f4bff104fffba2f069bc1b19ef0decbca7ff5459 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sun Sep 06 00:45:45 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Sep 30 20:32:33 2020 -0600 |
tree | c5ebb893156a62c5d6f91819bfea47d2aad07e4e | |
parent | 90554200724d5b280439dc361fe7ee92fe459ea7 [diff] |
io_uring: simplify io_rw_prep_async() Don't touch iter->iov and iov in between __io_import_iovec() and io_req_map_rw(), the former function aleady sets it correctly, because it creates one more case with NULL'ed iov to consider in io_req_map_rw(). Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>