Author: vlendec Date: 2007-09-24 21:43:54 +0000 (Mon, 24 Sep 2007) New Revision: 25311
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25311 Log: Patch from Heinrich Mislik <[EMAIL PROTECTED]> to fix AIX quotas. Heinrich, I trust you on that, I don't even have compiled this :-) Volker Modified: branches/SAMBA_3_0_MAINT/source/smbd/quotas.c branches/SAMBA_3_2/source/smbd/quotas.c branches/SAMBA_3_2_0/source/smbd/quotas.c Changeset: Modified: branches/SAMBA_3_0_MAINT/source/smbd/quotas.c =================================================================== --- branches/SAMBA_3_0_MAINT/source/smbd/quotas.c 2007-09-24 19:48:10 UTC (rev 25310) +++ branches/SAMBA_3_0_MAINT/source/smbd/quotas.c 2007-09-24 21:43:54 UTC (rev 25311) @@ -1225,6 +1225,9 @@ 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) { Modified: branches/SAMBA_3_2/source/smbd/quotas.c =================================================================== --- branches/SAMBA_3_2/source/smbd/quotas.c 2007-09-24 19:48:10 UTC (rev 25310) +++ branches/SAMBA_3_2/source/smbd/quotas.c 2007-09-24 21:43:54 UTC (rev 25311) @@ -1236,6 +1236,9 @@ 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) { Modified: branches/SAMBA_3_2_0/source/smbd/quotas.c =================================================================== --- branches/SAMBA_3_2_0/source/smbd/quotas.c 2007-09-24 19:48:10 UTC (rev 25310) +++ branches/SAMBA_3_2_0/source/smbd/quotas.c 2007-09-24 21:43:54 UTC (rev 25311) @@ -1236,6 +1236,9 @@ 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) {