vfs_io_uring: make use of sys_valid_io_range() in vfs_io_uring_pread_send()
authorStefan Metzmacher <metze@samba.org>
Fri, 8 May 2020 11:17:05 +0000 (13:17 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 12 May 2020 19:53:45 +0000 (19:53 +0000)
commit5005ae3fb24018e370ae60cc23c5e9cfe8357bc9
treee0be5534e36397a95e11cca4f4cb28fa1f6afdfe
parent40be2232a44a86cb5dfdda330801e615826408ba
vfs_io_uring: make use of sys_valid_io_range() in vfs_io_uring_pread_send()

This makes the follow up commits easier as we don't have to care
about overflows.

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