[vhffs-dev] [942] better ;)

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 942
Author:   gradator
Date:     2007-09-21 16:51:01 +0000 (Fri, 21 Sep 2007)

Log Message:
-----------
better ;)

Modified Paths:
--------------
    trunk/vhffs-fs/vhffsfs.c


Modified: trunk/vhffs-fs/vhffsfs.c
===================================================================
--- trunk/vhffs-fs/vhffsfs.c	2007-09-21 16:48:22 UTC (rev 941)
+++ trunk/vhffs-fs/vhffsfs.c	2007-09-21 16:51:01 UTC (rev 942)
@@ -1132,10 +1132,9 @@
 		}
 
 		dq = vhffsfs_checkquota_cache_add(key, gid, path, dq);
-		/* we should lock here but an error in quota computation is not important at all */
+#endif
 		dq->dqb_curspace += newblocks;
 		dq->dqb_curinodes += newfiles;
-#endif
 		if(dq->dqb_curspace > dq->dqb_bhardlimit  ||  dq->dqb_curinodes > dq->dqb_ihardlimit) ret = 1;
 #ifdef WITH_CHECKQUOTA_CACHE
 		vhffsfs_checkquota_cache_unref(key);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/