vfs_io_uring: move error handling out of vfs_io_uring_pwrite_recv()
authorStefan Metzmacher <metze@samba.org>
Fri, 8 May 2020 08:52:52 +0000 (10:52 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 14 May 2020 07:25:45 +0000 (07:25 +0000)
commitd9e2acf94459c1ce66229ed4d6f57d35f662a409
tree9512934535600b7dcf710682f59dfe6bef437546
parent3dc60c5409096a35ec1742bf42b7f84099181fba
vfs_io_uring: move error handling out of vfs_io_uring_pwrite_recv()

We should do that as early as possible and that's in
vfs_io_uring_pwrite_completion().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14361

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit a51969b8c7e6e49c0d3b776d897aea4f309f8678)
source3/modules/vfs_io_uring.c