summaryrefslogtreecommitdiffstats
path: root/source4/cluster
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-01-27 17:26:50 +0100
committerStefan Metzmacher <metze@samba.org>2014-02-07 16:06:07 +0100
commit31c233651972c94b66d7cebf42ebcdcb43c39036 (patch)
tree2cf5598cb4cce20f61a1031fe5cdbf0a274ab751 /source4/cluster
parent85235d03c1030a8bd510232a068da7f933ceb268 (diff)
downloadsamba-31c233651972c94b66d7cebf42ebcdcb43c39036.tar.gz
samba-31c233651972c94b66d7cebf42ebcdcb43c39036.tar.xz
samba-31c233651972c94b66d7cebf42ebcdcb43c39036.zip
s4:cluster: use DBWRAP_LOCK_ODER_NONE for local_db_tmp_open()
Make lack of lock oder checking more visible. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/cluster')
-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;
}