diff options
author | Uri Simchoni <uri@samba.org> | 2016-01-05 21:12:00 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2016-01-26 15:58:11 +0100 |
commit | 540dcfae6bf36d5c3e07be3aca66b71c0400cae7 (patch) | |
tree | cf2bff40e8baa57e775515a6771043d411eda203 /source3/modules/wscript_build | |
parent | 345f0849def860e7c4038d9d48f22a11998727c9 (diff) | |
download | samba-540dcfae6bf36d5c3e07be3aca66b71c0400cae7.tar.gz |
vfs_fake_dfq: add vfs module
Add a vfs module "vfs_fake_dfq" for mocking disk-free
and user/group quota functions.
In this commit there are quota considerations in
disk_free calculations, based on the mocking of quota.
Those considerations will later be removed once we
refactor the server code to weigh the disk-free and quota in
the smb layer and not in individual vfs implementations.
Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/modules/wscript_build')
-rw-r--r-- | source3/modules/wscript_build | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/modules/wscript_build b/source3/modules/wscript_build index 4dc66530373..77b28f64b56 100644 --- a/source3/modules/wscript_build +++ b/source3/modules/wscript_build @@ -490,3 +490,10 @@ bld.SAMBA3_MODULE('vfs_offline', init_function='', internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_offline'), enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_offline')) + +bld.SAMBA3_MODULE('vfs_fake_dfq', + subsystem='vfs', + source='vfs_fake_dfq.c', + init_function='', + internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fake_dfq'), + enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fake_dfq')) |