]> git.ozlabs.org Git - ccan/commit
tdb2: expand lock now nests inside other locks.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 3 Sep 2010 12:52:08 +0000 (22:22 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 3 Sep 2010 12:52:08 +0000 (22:22 +0930)
commit84a19b9bada57df46adc76d46672546a675b00a7
tree2a85efa265a592ba0c9387e3858df5a651cf898e
parent1a24a8708494668c07e5c02284bfc2ef3b09603b
tdb2: expand lock now nests inside other locks.

This eliminates all the "drop lock and retry" logic: we expand inside alloc().
ccan/tdb2/free.c
ccan/tdb2/private.h
ccan/tdb2/tdb.c
ccan/tdb2/test/run-02-expand.c