io_uring: fail links of cancelled timeouts
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 9 Sep 2021 12:56:27 +0000 (13:56 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 9 Sep 2021 15:41:02 +0000 (09:41 -0600)
commit2ae2eb9dde18979b40629dd413b9adbd6c894cdf
tree70c0501505bc053d6206de7ab0e4013002d9e8a0
parent66e70be722886e4f134350212baa13f217e39e42
io_uring: fail links of cancelled timeouts

When we cancel a timeout we should mark it with REQ_F_FAIL, so
linked requests are cancelled as well, but not queued for further
execution.

Cc: stable@vger.kernel.org
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/fff625b44eeced3a5cae79f60e6acf3fbdf8f990.1631192135.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c