tdb_compat: support tdb_reopen/tdb_reopen_all for TDB2
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 13 Sep 2011 22:43:28 +0000 (08:13 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 13 Sep 2011 22:43:28 +0000 (08:13 +0930)
commit72c4074c65b7a525b001b9787d8b922538898a89
treea0b1ab0361bfbe642858b6d9a180d1f8db209efc
parent26ce47ecc09537d3ee6dff205f3dd564a74e6301
tdb_compat: support tdb_reopen/tdb_reopen_all for TDB2

This matters with the clear-if-first support: we need to re-establish
those locks at this point.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
lib/tdb_compat/tdb_compat.c
lib/tdb_compat/tdb_compat.h