summaryrefslogtreecommitdiff
path: root/source3/smbd/ntquotas.c
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2003-05-12 02:23:50 +0000
committerAlexander Bokovoy <ab@samba.org>2003-05-12 02:23:50 +0000
commit92c8ca92c3015e1449a1c7c62bedb5f2fbbcff73 (patch)
tree548cd301a56e2b758746bc3f7a4a60d896ca8eb3 /source3/smbd/ntquotas.c
parentf9c23432aeb573cb971c7a87adc6ca952ce30d2f (diff)
downloadsamba-92c8ca92c3015e1449a1c7c62bedb5f2fbbcff73.tar.gz
samba-92c8ca92c3015e1449a1c7c62bedb5f2fbbcff73.tar.bz2
samba-92c8ca92c3015e1449a1c7c62bedb5f2fbbcff73.zip
Better isolate quota stuff
(This used to be commit 73de13159c57de21a59d2e32216812f5d9d2292e)
Diffstat (limited to 'source3/smbd/ntquotas.c')
-rw-r--r--source3/smbd/ntquotas.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/ntquotas.c b/source3/smbd/ntquotas.c
index 85e1e137d9..d4e165e5ac 100644
--- a/source3/smbd/ntquotas.c
+++ b/source3/smbd/ntquotas.c
@@ -20,6 +20,8 @@
#include "includes.h"
+#ifdef WITH_QUOTAS
+
static SMB_BIG_UINT limit_nt2unix(SMB_BIG_UINT in, SMB_BIG_UINT bsize)
{
SMB_BIG_UINT ret = (SMB_BIG_UINT)0;
@@ -257,3 +259,5 @@ void destroy_quota_handle(void **pqt_handle)
return;
}
+
+#endif /* WITH_QUOTAS */