summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2013-03-08 11:47:55 +0100
committerAndrew Bartlett <abartlet@samba.org>2013-03-09 06:30:21 +0100
commit15ce3a9c2f2aedcd4896235238a4ffdf23aa9178 (patch)
tree007eded8aa0256c97ec129db9c0aebca01edc50a /source3/wscript
parent11d128632357c9ae89d67aaf23c429fae83a1b29 (diff)
downloadsamba-15ce3a9c2f2aedcd4896235238a4ffdf23aa9178.tar.gz
samba-15ce3a9c2f2aedcd4896235238a4ffdf23aa9178.tar.bz2
samba-15ce3a9c2f2aedcd4896235238a4ffdf23aa9178.zip
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 <abartlet@samba.org>
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript6
1 files changed, 6 insertions, 0 deletions
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=',')