summaryrefslogtreecommitdiff
path: root/source3/modules/wscript_build
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/modules/wscript_build
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/modules/wscript_build')
-rw-r--r--source3/modules/wscript_build9
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/modules/wscript_build b/source3/modules/wscript_build
index 43daaf079e..ef5748ceef 100644
--- a/source3/modules/wscript_build
+++ b/source3/modules/wscript_build
@@ -49,6 +49,7 @@ VFS_CROSSRENAME_SRC = 'vfs_crossrename.c'
VFS_LINUX_XFS_SGID_SRC = 'vfs_linux_xfs_sgid.c'
VFS_TIME_AUDIT_SRC = 'vfs_time_audit.c'
VFS_MEDIA_HARMONY_SRC = 'vfs_media_harmony.c'
+VFS_BTRFS_SRC = 'vfs_btrfs.c'
bld.SAMBA3_SUBSYSTEM('NFS4_ACLS',
@@ -478,6 +479,14 @@ bld.SAMBA3_MODULE('vfs_dfs_samba4',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_dfs_samba4') and bld.AD_DC_BUILD_IS_ENABLED(),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_dfs_samba4') and bld.AD_DC_BUILD_IS_ENABLED())
+bld.SAMBA3_MODULE('vfs_btrfs',
+ subsystem='vfs',
+ source=VFS_BTRFS_SRC,
+ deps='samba-util',
+ init_function='',
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_btrfs'),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_btrfs'))
+
PERFCOUNT_TEST_SRC = 'perfcount_test.c'
bld.SAMBA3_SUBSYSTEM('perfcount',