r25311: Patch from Heinrich Mislik <Heinrich.Mislik@univie.ac.at> to fix AIX
authorVolker Lendecke <vlendec@samba.org>
Mon, 24 Sep 2007 21:43:54 +0000 (21:43 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:30:58 +0000 (12:30 -0500)
quotas.

Heinrich, I trust you on that, I don't even have compiled this :-)

Volker

source/smbd/quotas.c

index 1f30acef33c3d7c1a912b5622cd7e7905dbcd365..cb31763a9ff546a4cb20f79b846e9f7dcab8f6b4 100644 (file)
@@ -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)
     {