io_uring: clean up req->result setting by rw
Assign req->result to io_size early in io_{read,write}(), it's enough
and makes it more straightforward.
Signed-off-by:
Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Loading
Please sign in to comment