]> git.ozlabs.org Git - ccan/commit
tdb: remove lock ops
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:24:31 +0000 (13:54 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:24:31 +0000 (13:54 +1030)
commitd665ff828977d76f8ec6ed53e6aab2e6fa124675
tree9fa18033aed6ef5b4d8c4654b689d8b646270c55
parentd0b36a7cb734a9e3d290bb3047c012859ce171a3
tdb: remove lock ops

Now the transaction code uses the standard allrecord lock, that stops
us from trying to grab any per-record locks anyway.  We don't need to
have special noop lock ops for transactions.

This is a nice simplification: if you see brlock, you know it's really
going to grab a lock.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/tdb/io.c
ccan/tdb/lock.c
ccan/tdb/tdb_private.h
ccan/tdb/test/run-3G-file.c
ccan/tdb/transaction.c