1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-31 20:22:15 +03:00

dbwrap_ctdb: open locally with TDB_VOLATILE if requested

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Volker Lendecke
2014-03-17 12:21:28 +01:00
committed by Michael Adam
parent b8ae6f8f57
commit aaaff84b44

View File

@ -1616,7 +1616,7 @@ struct db_context *db_open_ctdb(TALLOC_CTX *mem_ctx,
result->lock_order = lock_order;
/* only pass through specific flags */
tdb_flags &= TDB_SEQNUM;
tdb_flags &= TDB_SEQNUM|TDB_VOLATILE;
/* honor permissions if user has specified O_CREAT */
if (open_flags & O_CREAT) {