git.samba.org
/
metze
/
ctdb
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ctdb: pass TDB_DISALLOW_NESTING to all tdb_open/tdb_wrap_open calls
[metze/ctdb/wip.git]
/
server
/
ctdb_recoverd.c
diff --git
a/server/ctdb_recoverd.c
b/server/ctdb_recoverd.c
index 3e596da9ecad9d88c8aa99184e4c94dac10a7720..e05eef02fea98ed3759ef836bed49f7fba9555c1 100644
(file)
--- a/
server/ctdb_recoverd.c
+++ b/
server/ctdb_recoverd.c
@@
-1020,6
+1020,7
@@
static struct tdb_wrap *create_recdb(struct ctdb_context *ctdb, TALLOC_CTX *mem_
if (!ctdb->do_setsched) {
tdb_flags |= TDB_NOMMAP;
}
+ tdb_flags |= TDB_DISALLOW_NESTING;
recdb = tdb_wrap_open(mem_ctx, name, ctdb->tunable.database_hash_size,
tdb_flags, O_RDWR|O_CREAT|O_EXCL, 0600);