io_uring: clean up io_poll_check_events return values
authorDylan Yudaken <dylany@fb.com>
Thu, 30 Jun 2022 09:12:24 +0000 (02:12 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Jul 2022 14:46:58 +0000 (08:46 -0600)
commitca814cd6207440d99bb022e51430ffd7c94359b7
tree387f17a7e7ad7979f34fc8fc9ef3034103e3f19f
parentf6b4094b8948c64a1dbc38bfef9f154132aef21b
io_uring: clean up io_poll_check_events return values

The values returned are a bit confusing, where 0 and 1 have implied
meaning, so add some definitions for them.

Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220630091231.1456789-6-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/poll.c