io_uring/net: combine fail handlers
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 21 Sep 2022 11:17:53 +0000 (12:17 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Sep 2022 19:15:02 +0000 (13:15 -0600)
commitc4c0009e0b56ef9920020bcade1e45be52653bae
tree13bf9d158b354a7659a77ac97a1ae61b50d52080
parentb0e9b5517eb12fa80c72e205fe28534c2e2f39b9
io_uring/net: combine fail handlers

Merge io_send_zc_fail() into io_sendrecv_fail(), saves a few lines of
code and some headache for following patch.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/e0eba1d577413aef5602cd45f588b9230207082d.1663668091.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c
io_uring/net.h
io_uring/opdef.c