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>
Wed, 9 Sep 2020 14:13:31 +0000 (08:13 -0600)
commit6d069d0e45b7345433b79f6c827e74707665ccb0
treeb2243b48fedcdf622992a64fff6787c09829ec19
parent4e176adec0320596ed2ee54f95878788af2afcc1
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