commit | 6bf985dc50dd882a95fffa9c7eef0d1416f512e6 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Feb 04 13:52:01 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Feb 04 08:05:46 2021 -0700 |
tree | 395df8a66dc5eed0f58e4d7095b3ad37bff15dc7 | |
parent | 1a2cc0ce8d18c9e5592733cb6381e9ff5c23d916 [diff] |
io_uring: let io_setup_async_rw take care of iovec Now we give out ownership of iovec into io_setup_async_rw(), so it either sets request's context right or frees the iovec on error itself. Makes our life a bit easier at call sites. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>