]> git.ipfire.org Git - thirdparty/samba.git/commit
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)
committerVolker Lendecke <vl@samba.org>
Mon, 15 Aug 2022 15:03:36 +0000 (15:03 +0000)
commitcea9451f780d13e528f1722a67eccbbc78b2daf9
tree53cc8f7642b10c5923ef4c3788b4c069b4940de9
parent2b51bad747551605ba3b70ac3b692107a0cd7aad
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>
source3/modules/vfs_io_uring.c
source3/wscript