OSDN Git Service

io_uring: refactor io_req_map_rw()
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 5 Sep 2020 21:45:46 +0000 (00:45 +0300)
committerJens Axboe <axboe@kernel.dk>
Thu, 1 Oct 2020 02:32:33 +0000 (20:32 -0600)
commitafb87658f89b65e067334e06d833ccd859e659e6
tree0d9b585166388ba55a3df179f4bf45157bfc7bd0
parentf4bff104fffba2f069bc1b19ef0decbca7ff5459
io_uring: refactor io_req_map_rw()

Set rw->free_iovec to @iovec, that gives an identical result and stresses
that @iovec param rw->free_iovec play the same role.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c