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: NPavel Begunkov <asml.silence@gmail.com> Signed-off-by: NJens Axboe <axboe@kernel.dk>
Showing
想要评论请 注册 或 登录