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

We should do that as early as possible and that's in
vfs_io_uring_fsync_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 40be2232a44a86cb5dfdda330801e615826408ba)
source3/modules/vfs_io_uring.c