vfs_io_uring: protect vfs_io_uring_fsync_completion() against invalid results
authorStefan Metzmacher <metze@samba.org>
Fri, 8 May 2020 09:38:56 +0000 (11:38 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 14 May 2020 07:25:46 +0000 (07:25 +0000)
commit8ed9668cefbf09ca7d985ce82cfd10bf9d00dfab
treeb1dc5742dcbd181e43376830ff9a5b010d6274ad
parent9b1281a7062537f46c0e33ad040965d3c6975353
vfs_io_uring: protect vfs_io_uring_fsync_completion() against invalid results

We should never get back a value > 0.

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 c57a731c4ce395fd710f0b066cd6f1b72223ae07)
source3/modules/vfs_io_uring.c