From: Rusty Russell Date: Mon, 22 Feb 2010 03:04:49 +0000 (+1030) Subject: tdb: use tdb_nest_lock() for transaction lock. X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=99e576ac94fd86fcba188fb72ced9e8087ac1680;hp=99e576ac94fd86fcba188fb72ced9e8087ac1680 tdb: use tdb_nest_lock() for transaction lock. Rather than a boutique lock and a separate nest count, use our newly-generic nested lock tracking for the transaction lock. Note that the tdb_have_extra_locks() and tdb_release_extra_locks() functions have to skip over this lock now it is tracked. Signed-off-by: Rusty Russell ---