vfs_fake_dfq: add vfs module
authorUri Simchoni <uri@samba.org>
Tue, 5 Jan 2016 19:12:00 +0000 (21:12 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 26 Jan 2016 14:58:11 +0000 (15:58 +0100)
commit540dcfae6bf36d5c3e07be3aca66b71c0400cae7
treecf2bff40e8baa57e775515a6771043d411eda203
parent345f0849def860e7c4038d9d48f22a11998727c9
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>
source3/modules/vfs_fake_dfq.c [new file with mode: 0644]
source3/modules/wscript_build
source3/wscript