dbwrap: add cif_tdb_flag_mutex_locking() helper
authorDavid Disseldorp <ddiss@samba.org>
Tue, 10 Jul 2018 15:21:51 +0000 (17:21 +0200)
committerDavid Disseldorp <ddiss@samba.org>
Thu, 12 Jul 2018 17:39:50 +0000 (19:39 +0200)
commit2f8fb2fcc2ccfe1845b65c55a8dedb959cd34d0d
tree9ac668b350f8649956b1bdb79713170c86a30881
parentc4a950282f26ff591141491e824a07a71be212a6
dbwrap: add cif_tdb_flag_mutex_locking() helper

Similar to previous change, clean up the db_open() TDB_CLEAR_IF_FIRST
code path by splitting out another flag based helper.

Signed-off-by: David Disseldorp <ddiss@samba.org>
source3/lib/dbwrap/dbwrap_open.c