[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3029-gc2a05d4

Jeremy Allison jra at samba.org
Tue Sep 16 01:20:54 GMT 2008


The branch, v3-2-test has been updated
       via  c2a05d4ed34aa8185a7d236e8d7b1493d67a3068 (commit)
      from  931abf7898f574fcf70c239b2ad5c180ff6bb8e8 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit c2a05d4ed34aa8185a7d236e8d7b1493d67a3068
Author: Timur <timur at FreeBSD.org>
Date:   Mon Sep 15 18:19:01 2008 -0700

    Fix cut and paste error in quota code.

-----------------------------------------------------------------------

Summary of changes:
 source/smbd/quotas.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/smbd/quotas.c b/source/smbd/quotas.c
index f47e89b..b6f748d 100644
--- a/source/smbd/quotas.c
+++ b/source/smbd/quotas.c
@@ -544,7 +544,7 @@ static bool nfs_quotas(char *nfspath, uid_t euser_id, SMB_BIG_UINT *bsize, SMB_B
 	*bsize = gqr.getquota_rslt_u.gqr_rquota.rq_bsize;
 	*dsize = D.dqb_bsoftlimit;
 
-	if (D.dqb_curblocks == D.dqb_curblocks == 1)
+	if (D.dqb_curblocks == 1)
 		*bsize = 512;
 
 	if (D.dqb_curblocks > D.dqb_bsoftlimit) {
@@ -1104,7 +1104,7 @@ static bool nfs_quotas(char *nfspath, uid_t euser_id, SMB_BIG_UINT *bsize, SMB_B
 	*bsize = gqr.getquota_rslt_u.gqr_rquota.rq_bsize;
 	*dsize = D.dqb_bsoftlimit;
 
-	if (D.dqb_curblocks == D.dqb_curblocks == 1)
+	if (D.dqb_curblocks == 1)
 		*bsize = DEV_BSIZE;
 
 	if (D.dqb_curblocks > D.dqb_bsoftlimit) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list