From 1d7f22c9ae9c18854fe47f7bd51355fced76201c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 30 Aug 2004 22:25:36 +0000 Subject: r2116: Ensure statcache has large enough tdb memory hash size (1031). Jeremy. (This used to be commit dad4d65787df7bd28351cb8f8724d3ae5387ca12) --- source3/smbd/statcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd') diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c index 03adf32e09..ba37d4927c 100644 --- a/source3/smbd/statcache.c +++ b/source3/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) -- cgit