svn commit: samba r2116 - in branches/SAMBA_3_0/source/smbd: .

jra at samba.org jra at samba.org
Mon Aug 30 22:25:37 GMT 2004


Author: jra
Date: 2004-08-30 22:25:36 +0000 (Mon, 30 Aug 2004)
New Revision: 2116

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source/smbd&rev=2116&nolog=1

Log:
Ensure statcache has large enough tdb memory hash size (1031).
Jeremy.

Modified:
   branches/SAMBA_3_0/source/smbd/statcache.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/statcache.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/statcache.c	2004-08-30 21:35:50 UTC (rev 2115)
+++ branches/SAMBA_3_0/source/smbd/statcache.c	2004-08-30 22:25:36 UTC (rev 2116)
@@ -310,7 +310,7 @@
 	}
 
 	/* 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)



More information about the samba-cvs mailing list