summaryrefslogtreecommitdiff
path: root/io_uring/msg_ring.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-09-13 13:21:23 +0100
committerJens Axboe <axboe@kernel.dk>2022-09-13 07:47:11 -0600
commit62bb0647b14646fa6c9aa25ecdf67ad18f13523c (patch)
tree4fe236d25aaa1a1dd413551ff9d0fc44524a5db0 /io_uring/msg_ring.c
parent4d9cb92ca41dd8e905a4569ceba4716c2f39c75a (diff)
io_uring/rw: fix error'ed retry return values
Kernel test robot reports that we test negativity of an unsigned in io_fixup_rw_res() after a recent change, which masks error codes and messes up the return value in case I/O is re-retried and failed with an error. Fixes: 4d9cb92ca41dd ("io_uring/rw: fix short rw error handling") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/9754a0970af1861e7865f9014f735c70dc60bf79.1663071587.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/msg_ring.c')
0 files changed, 0 insertions, 0 deletions