]> git.ozlabs.org Git - ccan/commit
tdb2: hoist adjust_size
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 15 Nov 2010 07:26:57 +0000 (17:56 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 15 Nov 2010 07:26:57 +0000 (17:56 +1030)
commit590eee6faf0d56ac4e7b60a51817d655bb3310cb
tree8f926b6d98b864c806b1501576786ef7687031d4
parentfdba839b5d353eb0c06ede0ee40e555501249d6a
tdb2: hoist adjust_size

We're going to want it in get_free() in the next patch, so move it upwards.
Trivial changes, too: add to size before min length check, and rename growing
to want_extra.
ccan/tdb2/free.c