diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2021-03-25 18:32:42 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-10 13:36:10 +0200 |
| commit | 7345d4b2d42122ed7da3714db0fc30ad5a93fee3 (patch) | |
| tree | 16f242225080c304d7a0e7531a8ff36de3717262 /lib/math | |
| parent | 8f9049e70cd69e5146cc58411e6516365e187064 (diff) | |
io_uring: fix timeout cancel return code
[ Upstream commit 1ee4160c73b2102a52bc97a4128a89c34821414f ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/math')
0 files changed, 0 insertions, 0 deletions
