]> git.ozlabs.org Git - ccan/commitdiff
tdb: use tdb_nest_lock() for transaction lock.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Feb 2010 03:04:49 +0000 (13:34 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Feb 2010 03:04:49 +0000 (13:34 +1030)
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 <rusty@rustcorp.com.au>

No differences found