From 43710a45e8308afac43d8ad1bf6f1aab05a77bb9 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 8 Apr 2005 17:04:59 +0000 Subject: r6249: Get the comparison the right way around... Jeremy. (This used to be commit 1d542eee571b80259568d49bd5dc2eb14fd80d01) --- source3/smbd/statcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c index 99f209006b..8e22d9687b 100644 --- a/source3/smbd/statcache.c +++ b/source3/smbd/statcache.c @@ -52,7 +52,7 @@ void stat_cache_add( const char *full_orig_name, const char *orig_translated_pat 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(); } -- cgit