Author: metze
Date: 2005-10-13 15:16:06 +0000 (Thu, 13 Oct 2005)
New Revision: 10963

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

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

metze
Modified:
   trunk/source/lib/sysquotas_linux.c


Changeset:
Modified: trunk/source/lib/sysquotas_linux.c
===================================================================
--- trunk/source/lib/sysquotas_linux.c  2005-10-13 14:59:47 UTC (rev 10962)
+++ trunk/source/lib/sysquotas_linux.c  2005-10-13 15:16:06 UTC (rev 10963)
@@ -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