tdb2: unify tdb1_chainlock et al. into tdb_chainlock
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Aug 2011 06:01:06 +0000 (15:31 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Aug 2011 06:01:06 +0000 (15:31 +0930)
commitceb2f3eacbad917ee990afbc3dd800bfb0607887
tree3ab3e8c6cab08a177e11830847d5592ce57899a3
parentcc2d609dfca7192305ad477b8c2b52cfdc1aa9be
tdb2: unify tdb1_chainlock et al. into tdb_chainlock

Switch on the TDB_VERSION1 flag.
ccan/tdb2/hash.c
ccan/tdb2/lock.c
ccan/tdb2/private.h
ccan/tdb2/tdb1.h
ccan/tdb2/tdb1_check.c
ccan/tdb2/tdb1_lock.c
ccan/tdb2/tdb1_open.c
ccan/tdb2/tdb1_private.h
ccan/tdb2/tdb1_summary.c
ccan/tdb2/tdb1_tdb.c
ccan/tdb2/test/run-tdb1-no-lock-during-traverse.c