]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:wscript: vfs_gpfs needs kernel oplock support
authorStefan Metzmacher <metze@samba.org>
Fri, 29 May 2020 08:39:00 +0000 (01:39 -0700)
committerStefan Metzmacher <metze@samba.org>
Tue, 7 Jul 2020 09:37:37 +0000 (09:37 +0000)
It uses symbols, which are only available if we have
HAVE_KERNEL_OPLOCKS_LINUX defined.

This is not the case when building withing the
Windows Subsystem for Liux (WSL). So we better don't try to
build the vfs_gpfs module there.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Jul  7 09:37:37 UTC 2020 on sn-devel-184

source3/wscript

index 2a341df7c3e2d087ec0dc6aafa46bfc7d86758ce..5e94c6f6c716a32e1eb2a3973002a4b2fbea8307 100644 (file)
@@ -1999,7 +1999,7 @@ main() {
     if conf.CONFIG_SET('DARWINOS'):
         default_static_modules.extend(TO_LIST('charset_macosxfs'))
 
-    if conf.CONFIG_SET('HAVE_GPFS'):
+    if conf.CONFIG_SET('HAVE_GPFS') and conf.CONFIG_SET('HAVE_KERNEL_OPLOCKS_LINUX'):
         default_shared_modules.extend(TO_LIST('vfs_gpfs'))
 
     if (conf.CONFIG_SET('HAVE_LINUX_IOCTL')