]> git.ozlabs.org Git - ccan/commit
tdb2: rearrange tdb_context layout so tdb1_context can match
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Aug 2011 05:46:16 +0000 (15:16 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Aug 2011 05:46:16 +0000 (15:16 +0930)
commit0fd5be2955f8e6487c0f4ab711e2a6958bb8f412
treec9c682b37659b02ca042b0dd923477e4d942bdc5
parent75a6a6ad64156ef3b13493be2970ae3cb99ccf8b
tdb2: rearrange tdb_context layout so tdb1_context can match

By moving all the parts of struct tdb_context which logging and
locking use to the beginning of the structure, we can make
tdb1_context match, and thus pass that directly to the tdb_logerr()
function, and later the locking functions.

This is only necessary until we unify tdb1_context and tdb_context.
ccan/tdb2/private.h