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>
Thu, 21 Jul 2022 14:46:49 +0000 (08:46 -0600)
commitb98248fbb312c6ebc540f1bbf7c809afa07503ed
treefda099c42fdfa219f7736b76248df2323cfe12be
parentaea92968fd8ab9e9198afce31bed83851fc188cc
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