summaryrefslogtreecommitdiffstats
path: root/source/smbd/statcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/smbd/statcache.c')
-rw-r--r--source/smbd/statcache.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/smbd/statcache.c b/source/smbd/statcache.c
index 8e22d9687b8..cfc5286327b 100644
--- a/source/smbd/statcache.c
+++ b/source/smbd/statcache.c
@@ -47,15 +47,10 @@ void stat_cache_add( const char *full_orig_name, const char *orig_translated_pat
TDB_DATA data_val;
char *original_path;
size_t original_path_length;
- size_t sc_size = lp_max_stat_cache_size();
if (!lp_stat_cache())
return;
- if (sc_size && (tdb_stat_cache->map_size > sc_size*1024)) {
- reset_stat_cache();
- }
-
ZERO_STRUCT(data_val);
/*