ldb_tdb: Implement read_lock and read_unlock module operations
authorAndrew Bartlett <abartlet@samba.org>
Thu, 11 May 2017 23:39:08 +0000 (01:39 +0200)
committerStefan Metzmacher <metze@samba.org>
Sun, 2 Jul 2017 15:35:19 +0000 (17:35 +0200)
commitd3c0df35c9af535148b91f87de75aaf4c2e57b71
treeed53797251ee2157fc3be59cef0e9f18a09a6add
parent6a3e77edc31b356865c5d7b9e6e1567b2d48c9f6
ldb_tdb: Implement read_lock and read_unlock module operations

This allows Samba to provide a consistent view of the DB
despite the use of multiple databases via the partitions module
and over multiple callbacks via a module stack.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/ldb/ldb_tdb/ldb_tdb.c