Author: metze
Date: 2005-10-13 14:59:47 +0000 (Thu, 13 Oct 2005)
New Revision: 10962

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10962

Log:
fix setting of quotas on linux kernel with the
struct if_dqblk interface

metze
Modified:
   branches/SAMBA_3_0/source/lib/sysquotas_linux.c


Changeset:
Modified: branches/SAMBA_3_0/source/lib/sysquotas_linux.c
===================================================================
--- branches/SAMBA_3_0/source/lib/sysquotas_linux.c     2005-10-13 13:20:26 UTC 
(rev 10961)
+++ branches/SAMBA_3_0/source/lib/sysquotas_linux.c     2005-10-13 14:59:47 UTC 
(rev 10962)
@@ -394,6 +394,7 @@
                D.dqb_ihardlimit = (dp->ihardlimit*dp->bsize)/bsize;
                D.dqb_isoftlimit = (dp->isoftlimit*dp->bsize)/bsize;
        }
+       D.dqb_valid = QIF_LIMITS;
 
        qflags = dp->qflags;
 

Reply via email to