From dad4d65787df7bd28351cb8f8724d3ae5387ca12 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 30 Aug 2004 22:25:36 +0000 Subject: [PATCH] r2116: Ensure statcache has large enough tdb memory hash size (1031). Jeremy. --- source/smbd/statcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/smbd/statcache.c b/source/smbd/statcache.c index 03adf32e093..ba37d4927cc 100644 --- a/source/smbd/statcache.c +++ b/source/smbd/statcache.c @@ -310,7 +310,7 @@ BOOL reset_stat_cache( void ) } /* Create the in-memory tdb using our custom hash function. */ - tdb_stat_cache = tdb_open_ex("statcache", 0, TDB_INTERNAL, + tdb_stat_cache = tdb_open_ex("statcache", 1031, TDB_INTERNAL, (O_RDWR|O_CREAT), 0644, NULL, fast_string_hash); if (!tdb_stat_cache) -- 2.11.4.GIT