svn commit: samba r6250 - in trunk/source/smbd: .

jra at samba.org jra at samba.org
Fri Apr 8 17:05:16 GMT 2005


Author: jra
Date: 2005-04-08 17:05:01 +0000 (Fri, 08 Apr 2005)
New Revision: 6250

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

Log:
Get the comparison the right way around... 
Jeremy.

Modified:
   trunk/source/smbd/statcache.c


Changeset:
Modified: trunk/source/smbd/statcache.c
===================================================================
--- trunk/source/smbd/statcache.c	2005-04-08 17:04:59 UTC (rev 6249)
+++ trunk/source/smbd/statcache.c	2005-04-08 17:05:01 UTC (rev 6250)
@@ -52,7 +52,7 @@
 	if (!lp_stat_cache())
 		return;
 
-	if (sc_size && (sc_size*1024 > tdb_stat_cache->map_size)) {
+	if (sc_size && (tdb_stat_cache->map_size > sc_size*1024)) {
 		reset_stat_cache();
 	}
 



More information about the samba-cvs mailing list