tdb2: make tdb1 use same low-level lock functions.
commitbdd46e4513c7157a67408fcbd1e24b822cdbb960
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 13 Sep 2011 22:08:13 +0000 (14 07:38 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 13 Sep 2011 22:08:13 +0000 (14 07:38 +0930)
tree4ff8bb11db364f7781f15ee85f4b6b032644a376
parentc5b7c4aea8a1d2be1d61c3b909177cb5ef07fd62
tdb2: make tdb1 use same low-level lock functions.

This means they will use the TDB_ATTRIBUTE_FLOCK functions, and get automatic
reopen support.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit fbad02b680b6cbc33ae305ae1cbcdead4eedc7b1)
lib/tdb2/lock.c
lib/tdb2/private.h
lib/tdb2/tdb1_lock.c
lib/tdb2/tdb1_open.c
lib/tdb2/tdb1_private.h
lib/tdb2/transaction.c