summaryrefslogtreecommitdiffstats
path: root/source4/cluster/local.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/cluster/local.c')
-rw-r--r--source4/cluster/local.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/cluster/local.c b/source4/cluster/local.c
index 0a659509023..18ee3d99d13 100644
--- a/source4/cluster/local.c
+++ b/source4/cluster/local.c
@@ -63,7 +63,7 @@ static struct db_context *local_db_tmp_open(struct cluster_ops *ops,
path = smbd_tmp_path(tmp_ctx, lp_ctx, dbname);
db = dbwrap_local_open(mem_ctx, lp_ctx, path, 0, flags, O_RDWR|O_CREAT,
- 0600, 0, DBWRAP_FLAG_NONE);
+ 0600, DBWRAP_LOCK_ORDER_NONE, DBWRAP_FLAG_NONE);
talloc_free(tmp_ctx);
return db;
}