summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-09-24 21:43:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:58 -0500
commitfb7ee0804c9d4e91a14c03651fc4907115d594e7 (patch)
tree323dc7279471a9d33ed56d200c06e3df41fc566c
parente6228e2541669c297dd4206c2795560ddc80854c (diff)
downloadsamba-fb7ee0804c9d4e91a14c03651fc4907115d594e7.tar.gz
samba-fb7ee0804c9d4e91a14c03651fc4907115d594e7.tar.bz2
samba-fb7ee0804c9d4e91a14c03651fc4907115d594e7.zip
r25311: Patch from Heinrich Mislik <Heinrich.Mislik@univie.ac.at> to fix AIX
quotas. Heinrich, I trust you on that, I don't even have compiled this :-) Volker (This used to be commit a8312a1d7b7e3ad00265279dd0640261beaa287d)
-rw-r--r--source3/smbd/quotas.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/quotas.c b/source3/smbd/quotas.c
index 1f30acef33..cb31763a9f 100644
--- a/source3/smbd/quotas.c
+++ b/source3/smbd/quotas.c
@@ -1236,6 +1236,9 @@ BOOL disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB
D.dqb_curblocks = user_quota.bused;
D.dqb_bsoftlimit = user_quota.bsoft;
D.dqb_bhardlimit = user_quota.bhard;
+ D.dqb_curfiles = user_quota.iused;
+ D.dqb_fsoftlimit = user_quota.isoft;
+ D.dqb_fhardlimit = user_quota.ihard;
}
else if(statbuf.f_vfstype == MNT_JFS)
{