summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-04-08 17:04:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:32 -0500
commit43710a45e8308afac43d8ad1bf6f1aab05a77bb9 (patch)
tree06e7ea860cc91283511bda58966902d4683b2b53
parent14ce1ed40c9c6b7a4ac55ae56c247c66c46fe546 (diff)
downloadsamba-43710a45e8308afac43d8ad1bf6f1aab05a77bb9.tar.gz
samba-43710a45e8308afac43d8ad1bf6f1aab05a77bb9.tar.bz2
samba-43710a45e8308afac43d8ad1bf6f1aab05a77bb9.zip
r6249: Get the comparison the right way around...
Jeremy. (This used to be commit 1d542eee571b80259568d49bd5dc2eb14fd80d01)
-rw-r--r--source3/smbd/statcache.c2
1 files changed, 1 insertions, 1 deletions
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();
}