]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: simplify io_rw_prep_async()
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 5 Sep 2020 21:45:45 +0000 (00:45 +0300)
committerJens Axboe <axboe@kernel.dk>
Thu, 1 Oct 2020 02:32:33 +0000 (20:32 -0600)
commit06bf35bbfd5db407eb91dbc43ba5062c3b57b913
treec5ebb893156a62c5d6f91819bfea47d2aad07e4e
parent7c8816314b79d9980144c915e3f006fef538a516
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>
fs/io_uring.c