summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/brlock.c3
-rw-r--r--source3/locking/locking.c3
2 files changed, 2 insertions, 4 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),