summaryrefslogtreecommitdiffstats
path: root/source/smbd/ntquotas.c
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2003-05-14 14:38:11 +0000
committerAlexander Bokovoy <ab@samba.org>2003-05-14 14:38:11 +0000
commit3786695c72e6ff6a52a527382ac77142e236971b (patch)
tree55e79c0e4bb9d8e2028c978102d5f854ec6618cd /source/smbd/ntquotas.c
parentc2689ed118b490e49497a76ed6a2251262018769 (diff)
downloadsamba-3786695c72e6ff6a52a527382ac77142e236971b.tar.gz
samba-3786695c72e6ff6a52a527382ac77142e236971b.tar.xz
samba-3786695c72e6ff6a52a527382ac77142e236971b.zip
Evolve quotas configure check more. Patch from Stefan (metze) Metzemacher. Now we are defaulting to --with-quotas=no but anyway trying to test them in configure. This is done to get information about as much quota API variations as possible -- when --with-quotas=no this does not affect build but provides us with more detailed information on build farm.
Diffstat (limited to 'source/smbd/ntquotas.c')
-rw-r--r--source/smbd/ntquotas.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/smbd/ntquotas.c b/source/smbd/ntquotas.c
index f6f14794816..86855608971 100644
--- a/source/smbd/ntquotas.c
+++ b/source/smbd/ntquotas.c
@@ -119,11 +119,8 @@ int vfs_set_ntquota(files_struct *fsp, enum SMB_QUOTA_TYPE qtype, DOM_SID *psid,
id.uid = -1;
-#if defined(QUOTABLOCK_SIZE)
D.bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE;
-#else
- D.bsize = (SMB_BIG_UINT)1024;
-#endif
+
D.softlimit = limit_nt2unix(qt->softlim,D.bsize);
D.hardlimit = limit_nt2unix(qt->hardlim,D.bsize);
D.qflags = qt->qflags;