summaryrefslogtreecommitdiff
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-03-25 18:32:42 +0000
committerJens Axboe <axboe@kernel.dk>2021-03-27 14:09:11 -0600
commit1ee4160c73b2102a52bc97a4128a89c34821414f (patch)
tree6972412a96f6cb6c26a1b6d60200b758eca3d33d /kernel/exit.c
parent1e4cf0d3d072173ee70757ee4aec11b2839705f9 (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>
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions