]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: fail links when poll fails
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 21 Jun 2022 23:00:35 +0000 (00:00 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Jun 2022 23:24:37 +0000 (17:24 -0600)
commitf9e34cccf5487c94efd8d317a69b8ae4be86d169
tree4092f9a8e46c456e44657dc5bde50f5b551c05ff
parent60b4b25662a591e5ab484f5b14c4709ad2c8a8a8
io_uring: fail links when poll fails

Don't forget to cancel all linked requests of poll request when
__io_arm_poll_handler() failed.

Fixes: e814270056832 ("io_uring: poll rework")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/a78aad962460f9fdfe4aa4c0b62425c88f9415bc.1655852245.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c