io_uring: improve send/recv error handling
commit 7297ce3d upstream. Hide all error handling under common if block, removes two extra ifs on the success path and keeps the handling more condensed. Signed-off-by:Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/5761545158a12968f3caf30f747eea65ed75dfc1.1637524285.git.asml.silence@gmail.com Signed-off-by:
Jens Axboe <axboe@kernel.dk> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
-
mentioned in commit 16242ffb
-
mentioned in commit c1628e8e
-
mentioned in commit d1c179bd
-
mentioned in commit c3483eaf
-
mentioned in commit 259ec87c
-
mentioned in commit 5dd04485
-
mentioned in commit 0b4b61c4
-
mentioned in commit 40520bb9
-
mentioned in commit 51556245
-
mentioned in commit 51556245
Please sign in to comment