vfs_io_uring: move error handling out of vfs_io_uring_pread_recv()
authorStefan Metzmacher <metze@samba.org>
Fri, 8 May 2020 08:52:52 +0000 (10:52 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 12 May 2020 19:53:44 +0000 (19:53 +0000)
commita1487067a6c9df3136fd5d4d16dda4c0f63cb662
treea096e58bf1f09d1d83d0b971e02ccb2945eed846
parent456533c9cfc332d3a83ea03a6f969b0d64ccbeb6
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>
source3/modules/vfs_io_uring.c