tdb: remove lock ops
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 00:19:22 +0000 (10:49 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 00:19:22 +0000 (10:49 +1030)
commit9f295eecffd92e55584fc36539cd85cd32c832de
tree0a22a9a7315b8154af83e73ff5114d51f6a8b966
parenta84222bbaf9ed2c7b9c61b8157b2e3c85f17fa32
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>
lib/tdb/common/io.c
lib/tdb/common/lock.c
lib/tdb/common/tdb_private.h
lib/tdb/common/transaction.c