svn commit: samba r6249 - in branches/SAMBA_3_0/source/smbd: .

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


Author: jra
Date: 2005-04-08 17:04:59 +0000 (Fri, 08 Apr 2005)
New Revision: 6249

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

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

Modified:
   branches/SAMBA_3_0/source/smbd/statcache.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/statcache.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/statcache.c	2005-04-08 09:38:16 UTC (rev 6248)
+++ branches/SAMBA_3_0/source/smbd/statcache.c	2005-04-08 17:04:59 UTC (rev 6249)
@@ -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