summaryrefslogtreecommitdiffstats
path: root/source/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
commit73de13159c57de21a59d2e32216812f5d9d2292e (patch)
treeb30b69a34981f18092dd9d51f565948c10793a26 /source/smbd/ntquotas.c
parent01cff3e2e4e2724ed112fa62a775055192a2207b (diff)
downloadsamba-73de13159c57de21a59d2e32216812f5d9d2292e.tar.gz
samba-73de13159c57de21a59d2e32216812f5d9d2292e.tar.xz
samba-73de13159c57de21a59d2e32216812f5d9d2292e.zip
Better isolate quota stuff
Diffstat (limited to 'source/smbd/ntquotas.c')
-rw-r--r--source/smbd/ntquotas.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/smbd/ntquotas.c b/source/smbd/ntquotas.c
index 85e1e137d94..d4e165e5ac5 100644
--- a/source/smbd/ntquotas.c
+++ b/source/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 */