r2116: Ensure statcache has large enough tdb memory hash size (1031).
authorJeremy Allison <jra@samba.org>
Mon, 30 Aug 2004 22:25:36 +0000 (22:25 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:32 +0000 (10:52 -0500)
Jeremy.
(This used to be commit dad4d65787df7bd28351cb8f8724d3ae5387ca12)

source3/smbd/statcache.c

index 03adf32e093facfb154afc401b5b0909f964f1ee..ba37d4927ccbfc62ca322c88fd9a7a7a87209fca 100644 (file)
@@ -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)