From: Rusty Russell Date: Wed, 31 Aug 2011 05:46:16 +0000 (+0930) Subject: tdb2: rearrange tdb_context layout so tdb1_context can match X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=0fd5be2955f8e6487c0f4ab711e2a6958bb8f412;hp=0fd5be2955f8e6487c0f4ab711e2a6958bb8f412 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. ---