From 15ce3a9c2f2aedcd4896235238a4ffdf23aa9178 Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Fri, 8 Mar 2013 11:47:55 +0100 Subject: s3-vfs: add vfs_btrfs module Currently it only plumbs itself into the copy_chunk call path, translating such requests into BTRFS_IOC_CLONE_RANGE calls. Reviewed-by: Andrew Bartlett --- source3/wscript | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/wscript') diff --git a/source3/wscript b/source3/wscript index 1bc68115e5..42f532d9db 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1669,6 +1669,9 @@ main() { if conf.CHECK_HEADERS('gpfs_gpl.h'): conf.DEFINE('HAVE_GPFS', '1') + if conf.CHECK_HEADERS('linux/ioctl.h sys/ioctl.h'): + conf.DEFINE('HAVE_LINUX_IOCTL', '1') + default_static_modules.extend(TO_LIST('''pdb_smbpasswd pdb_tdbsam pdb_wbc_sam auth_sam auth_unix auth_winbind auth_wbc auth_domain auth_builtin vfs_default @@ -1730,6 +1733,9 @@ main() { if conf.CONFIG_SET('HAVE_GPFS'): default_shared_modules.extend(TO_LIST('vfs_gpfs')) + if conf.CONFIG_SET('HAVE_LINUX_IOCTL'): + default_shared_modules.extend(TO_LIST('vfs_btrfs')) + explicit_shared_modules = TO_LIST(Options.options.shared_modules, delimiter=',') explicit_static_modules = TO_LIST(Options.options.static_modules, delimiter=',') -- cgit