ldb: Use the private event context in ldb_tdb and ldb_wait()
commite67d3568e5853387d0675ed13d51df21e6274770
authorAndrew Bartlett <abartlet@samba.org>
Fri, 12 May 2017 00:30:01 +0000 (12 02:30 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 31 May 2017 04:34:27 +0000 (31 06:34 +0200)
tree5cf6530b6219db478ff3eaf5d850a55854d5a9c2
parent25795c3da920adba845367bf3394b5ba5912c1d5
ldb: Use the private event context in ldb_tdb and ldb_wait()

This enables the previous commits, and ensures that ldb_tdb is safe from operations while locks
are held

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
lib/ldb/common/ldb.c
lib/ldb/ldb_tdb/ldb_tdb.c