summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-08-07 11:28:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:22 -0500
commit28210588edc39eb2b6cd237f11b488fa4d6b6985 (patch)
treec071e674719546b60c0e9c3de8df88dd09f1846e /source3
parent8c154674c69d61c433c9bbd30bf1099f50c56f59 (diff)
downloadsamba-28210588edc39eb2b6cd237f11b488fa4d6b6985.tar.gz
samba-28210588edc39eb2b6cd237f11b488fa4d6b6985.tar.bz2
samba-28210588edc39eb2b6cd237f11b488fa4d6b6985.zip
r24266: Remove the "open files database hash size" parameter
This has been superseded by the "tdb_hashsize:<tdbname>" parameter (This used to be commit df40d336afd256f05a0ec3724cc2096fb7114d81)
Diffstat (limited to 'source3')
-rw-r--r--source3/locking/brlock.c3
-rw-r--r--source3/locking/locking.c3
-rw-r--r--source3/param/loadparm.c1
3 files changed, 2 insertions, 5 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c
index e79b531776..4e15670b04 100644
--- a/source3/locking/brlock.c
+++ b/source3/locking/brlock.c
@@ -263,8 +263,7 @@ void brl_init(int read_only)
if (brlock_db) {
return;
}
- brlock_db = db_open(NULL, lock_path("brlock.tdb"),
- lp_open_files_db_hash_size(),
+ brlock_db = db_open(NULL, lock_path("brlock.tdb"), 0,
TDB_DEFAULT
|TDB_VOLATILE
|(read_only?0x0:TDB_CLEAR_IF_FIRST),
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index d79d73099b..7f1f8f41e1 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -394,8 +394,7 @@ BOOL locking_init(int read_only)
if (lock_db)
return True;
- lock_db = db_open(NULL, lock_path("locking.tdb"),
- lp_open_files_db_hash_size(),
+ lock_db = db_open(NULL, lock_path("locking.tdb"), 0,
TDB_DEFAULT
|TDB_VOLATILE
|(read_only?0x0:TDB_CLEAR_IF_FIRST),
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 873fd885c5..24cab4d218 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1042,7 +1042,6 @@ static struct parm_struct parm_table[] = {
{"max disk size", P_INTEGER, P_GLOBAL, &Globals.maxdisksize, NULL, NULL, FLAG_ADVANCED},
{"max open files", P_INTEGER, P_GLOBAL, &Globals.max_open_files, NULL, NULL, FLAG_ADVANCED},
{"min print space", P_INTEGER, P_LOCAL, &sDefault.iMinPrintSpace, NULL, NULL, FLAG_ADVANCED | FLAG_PRINT},
- {"open files database hash size", P_INTEGER, P_GLOBAL, &Globals.open_files_db_hash_size, NULL, NULL, FLAG_ADVANCED},
{"socket options", P_GSTRING, P_GLOBAL, user_socket_options, NULL, NULL, FLAG_ADVANCED},
{"strict allocate", P_BOOL, P_LOCAL, &sDefault.bStrictAllocate, NULL, NULL, FLAG_ADVANCED | FLAG_SHARE},