dbwrap_ctdb: Pass on mutex flags to tdb_open
authorVolker Lendecke <vl@samba.org>
Thu, 6 Nov 2014 10:59:34 +0000 (11:59 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 24 Nov 2014 20:16:09 +0000 (21:16 +0100)
commit8e2765bfce6353436b0185e2279c8ba7dae376ca
tree23ed4b6fd592e0bb307efd199b7a17ed261be651
parentd1b99159640669a06bc705dece617428168ea695
dbwrap_ctdb: Pass on mutex flags to tdb_open

Without this, ctdb can create a tdb file with mutex activated, but the
local tdb_open will not open the tdb due to strict flags checks whether
mutexes are possible.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10922

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sun Nov 16 12:13:54 CET 2014 on sn-devel-104

(cherry picked from commit 1106ede280938d05325baa146bd524aa3568deaf)
source3/lib/dbwrap/dbwrap_ctdb.c