io_uring: change arm poll return values
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 23 Jun 2022 13:24:47 +0000 (14:24 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:39:16 +0000 (18:39 -0600)
commit063a007996bf725ba4c7d8741701670be9858300
tree30c07b559342b3e7201f4993886936d9c9db5789
parent5204aa8c43bd1c3428b8979229183ae8269a8c09
io_uring: change arm poll return values

The rules for __io_arm_poll_handler()'s result parsing are complicated,
as the first step don't pass return a mask but pass back a positive
return code and fill ipt->result_mask.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/529e29e9f97f2e6e383ccd44234d8b576a83a921.1655990418.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/poll.c