From 9f295eecffd92e55584fc36539cd85cd32c832de Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 24 Feb 2010 10:49:22 +1030 Subject: 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 --- lib/tdb/common/io.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/tdb/common/io.c') diff --git a/lib/tdb/common/io.c b/lib/tdb/common/io.c index 85f69ab0d6..5b20fa1902 100644 --- a/lib/tdb/common/io.c +++ b/lib/tdb/common/io.c @@ -461,8 +461,6 @@ static const struct tdb_methods io_methods = { tdb_next_hash_chain, tdb_oob, tdb_expand_file, - tdb_brlock, - tdb_brunlock }; /* -- cgit