mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-07-08 18:13:59 +02:00
bc73659ed3
The 5.15/5.10 backport of84230ad2d2had a few issues, due to the older poll base. Notably return value handling __io_arm_poll_handler() and in return __io_poll_add() as well. Fix them up. Reported-by: Ben Hutchings <ben@decadent.org.uk> Fixes:349ef5d2e7("io_uring/poll: correctly handle io_poll_add() return value on update") Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>