io_uring/rw: fix error'ed retry return values
[ upstream commit 62bb0647 ] 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: 4d9cb92c ("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> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
mentioned in commit 947583ed
-
mentioned in commit e2c82fa4
-
mentioned in commit 9f36c208
-
mentioned in commit e23c6d6c
-
mentioned in commit ec8bb80d
-
mentioned in commit 1e12bd64
-
mentioned in commit 43593de9
-
mentioned in commit 901497de
-
mentioned in commit f74317f7
-
mentioned in commit 345ec059
-
mentioned in commit 98a15fee
-
mentioned in commit 2cdddf70
-
mentioned in commit 2d72b630
-
mentioned in commit 5aa6ce16
-
mentioned in commit ffb52176
-
mentioned in commit 209ed4fd
-
mentioned in commit 4b22a196
-
mentioned in commit 2535d9f2
-
mentioned in commit 2230d11a
-
mentioned in commit 06ac534e
-
mentioned in commit 0026a366
-
mentioned in commit 1731155f
-
mentioned in commit ab72dd34
-
mentioned in commit 1e3eb209
-
mentioned in commit 8becf6ef
-
mentioned in commit 77705b0b
-
mentioned in commit 76a335ad
-
mentioned in commit c0555b98
-
mentioned in commit 9639fa91
-
mentioned in commit 198e5002
-
mentioned in commit a60104c6