]> git.ozlabs.org Git - ccan/commitdiff
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)
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.


No differences found