git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61cb830
)
Fix cut and paste error in quota code.
author
Timur
<timur@FreeBSD.org>
Tue, 16 Sep 2008 01:21:02 +0000
(18:21 -0700)
committer
Jeremy Allison
<jra@samba.org>
Tue, 16 Sep 2008 01:21:02 +0000
(18:21 -0700)
source3/smbd/quotas.c
patch
|
blob
|
history
diff --git
a/source3/smbd/quotas.c
b/source3/smbd/quotas.c
index f47e89bd220348a7516e0aa68fbec53122a0ea73..b6f748da33b784b9fb4f7c0cf668c0db8ef8ee8a 100644
(file)
--- a/
source3/smbd/quotas.c
+++ b/
source3/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) {