commit | 9b5f7bd93272689ec8dc2cfd40a812265c23414e | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Mon Jun 29 13:13:00 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jun 30 08:39:57 2020 -0600 |
tree | 77f109b020cbd66d91af4b6e0a97a934ee1a004a | |
parent | 7c86ffeeed303187f266ed17bd87a9b375955709 [diff] |
io_uring: replace find_next() out param with ret Generally, it's better to return a value directly than having out parameter. It's cleaner and saves from some kinds of ugly bugs. May also be faster. Return next request from io_req_find_next() and friends directly instead of passing out parameter. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>