diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-04-13 16:10:35 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-13 10:25:37 -0600 |
commit | 7179c3ce3dbff646c55f7cd664a895f462f049e5 (patch) | |
tree | 5b9f75adb11d2a85345ebe8c495e62b01326ea46 /include/linux/zstd_errors.h | |
parent | cce64ef01308b677a687d90927fc2b2e0e1cba67 (diff) |
io_uring: fix poll error reporting
We should not return an error code in req->result in
io_poll_check_events(), because it may get mangled and returned as
success. Just return the error code directly, the callers will fail the
request or proceed accordingly.
Fixes: 6bf9c47a3989 ("io_uring: defer file assignment")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/5f03514ee33324dc811fb93df84aee0f695fb044.1649862516.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/zstd_errors.h')
0 files changed, 0 insertions, 0 deletions