commit | e80a08c3a7e4d3224dd2ea306625868ce26ef630 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Sun Dec 01 17:19:16 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Dec 01 17:19:16 2019 -0700 |
tree | 3558ecffeff267cf9ce3fc9e2689587e01c007f0 | |
parent | e71a670557f38667dea1b68815a164b7d5440312 [diff] |
io_uring_wait_cqes: use cqe related return codes Some churn here again... After thinking about this for a bit, I don't think this function should deviate from the other wait functions. That means we return 0 for success, and -errno on error. The fact that we may need to submit is somewhat irrelevant. Signed-off-by: Jens Axboe <axboe@kernel.dk>