summaryrefslogtreecommitdiff
path: root/lib/tdb/common/io.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2010-02-24 10:49:22 +1030
committerRusty Russell <rusty@rustcorp.com.au>2010-02-24 10:49:22 +1030
commit9f295eecffd92e55584fc36539cd85cd32c832de (patch)
tree0a22a9a7315b8154af83e73ff5114d51f6a8b966 /lib/tdb/common/io.c
parenta84222bbaf9ed2c7b9c61b8157b2e3c85f17fa32 (diff)
downloadsamba-9f295eecffd92e55584fc36539cd85cd32c832de.tar.gz
samba-9f295eecffd92e55584fc36539cd85cd32c832de.tar.bz2
samba-9f295eecffd92e55584fc36539cd85cd32c832de.zip
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>
Diffstat (limited to 'lib/tdb/common/io.c')
-rw-r--r--lib/tdb/common/io.c2
1 files changed, 0 insertions, 2 deletions
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
};
/*