summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-08-30 22:25:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:32 -0500
commit1d7f22c9ae9c18854fe47f7bd51355fced76201c (patch)
treea380eea0ec3ba5dbb868dad8e41f2c34b7a142bf /source3
parent651daa4b4256455b26b0affcdc45fe328b128c99 (diff)
downloadsamba-1d7f22c9ae9c18854fe47f7bd51355fced76201c.tar.gz
r2116: Ensure statcache has large enough tdb memory hash size (1031).
Jeremy. (This used to be commit dad4d65787df7bd28351cb8f8724d3ae5387ca12)
Diffstat (limited to 'source3')
-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 03adf32e093..ba37d4927cc 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)