commit | 1ee4160c73b2102a52bc97a4128a89c34821414f | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Mar 25 18:32:42 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Mar 27 14:09:11 2021 -0600 |
tree | 6972412a96f6cb6c26a1b6d60200b758eca3d33d | |
parent | 1e4cf0d3d072173ee70757ee4aec11b2839705f9 [diff] |
io_uring: fix timeout cancel return code When we cancel a timeout we should emit a sensible return code, like -ECANCELED but not 0, otherwise it may trick users. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/7b0ad1065e3bd1994722702bd0ba9e7bc9b0683b.1616696997.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>