tdb: remove lock ops
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 22 Apr 2010 04:24:06 +0000 (13:54 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 22 Apr 2010 04:24:06 +0000 (13:54 +0930)
commit6d7093cf51d0256245cc6bab24c9550ed3f1d8a5
tree277469c80fcd05e63cc6947575b2c7059107e07a
parent803035716338170896fee15f15b17c32e7ee777e
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>
(Imported from commit 9f295eecffd92e55584fc36539cd85cd32c832de)
lib/tdb/common/io.c
lib/tdb/common/lock.c
lib/tdb/common/tdb_private.h
lib/tdb/common/transaction.c