vfs_io_uring: move error handling out of vfs_io_uring_pread_recv()
commit3dc60c5409096a35ec1742bf42b7f84099181fba
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)
tree0c492def205f8691cda7a61db0791c89a6aa1a65
parenta15861f6dd39400ff08db8479f84caa29a0d979d
vfs_io_uring: move error handling out of vfs_io_uring_pread_recv()

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