From 2c01eef4d7ea9ed57ea5f68a0e75559e101fd26f Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Wed, 14 May 2003 14:38:11 +0000 Subject: 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. (This used to be commit 3786695c72e6ff6a52a527382ac77142e236971b) --- source3/smbd/ntquotas.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source3/smbd/ntquotas.c') diff --git a/source3/smbd/ntquotas.c b/source3/smbd/ntquotas.c index f6f1479481..8685560897 100644 --- a/source3/smbd/ntquotas.c +++ b/source3/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; -- cgit