mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
r24266: Remove the "open files database hash size" parameter
This has been superseded by the "tdb_hashsize:<tdbname>" parameter
(This used to be commit df40d336af
)
This commit is contained in:
parent
8c154674c6
commit
28210588ed
@ -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),
|
||||
|
@ -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),
|
||||
|
@ -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},
|
||||
|
Loading…
Reference in New Issue
Block a user