vfs_io_uring: hide a possible definition of struct open_how in liburing/compat.h
authorStefan Metzmacher <metze@samba.org>
Tue, 9 Aug 2022 10:29:24 +0000 (10:29 +0000)
committerStefan Metzmacher <metze@samba.org>
Tue, 16 Aug 2022 18:27:13 +0000 (18:27 +0000)
commitc8c2cbca60bb64a38e38908fedd6e058baeb30e2
tree471b86290170b7e440c1e9fbd661e87ba55818a9
parentefb488977f563217e88ca1b3b11a78a07859e8c0
vfs_io_uring: hide a possible definition of struct open_how in liburing/compat.h

liburing.h will include liburing/compat.h, which either includes
linux/openat2.h or defines struct open_how itself.

This will help with the following changes, which will provide
openat2() via libreplace's system/filesys.h, either including
linux/openat2.h or defining open_how ourself.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15146
(cherry picked from commit cea9451f780d13e528f1722a67eccbbc78b2daf9)
source3/modules/vfs_io_uring.c
source3/wscript