diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2010-04-22 13:54:06 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-04-22 13:54:06 +0930 |
commit | 24532663bfbdc9b47b54f0644acf31dba37ee3d9 (patch) | |
tree | 4f56bbc504991235f3c524e2f89543add87c6db6 /ctdb/lib/tdb/common/io.c | |
parent | fa782ab9923b40ec07bcc68d38aa34dea7c01187 (diff) | |
download | samba-24532663bfbdc9b47b54f0644acf31dba37ee3d9.tar.gz samba-24532663bfbdc9b47b54f0644acf31dba37ee3d9.tar.xz samba-24532663bfbdc9b47b54f0644acf31dba37ee3d9.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>
(Imported from commit 9f295eecffd92e55584fc36539cd85cd32c832de)
(This used to be ctdb commit 6d7093cf51d0256245cc6bab24c9550ed3f1d8a5)
Diffstat (limited to 'ctdb/lib/tdb/common/io.c')
-rw-r--r-- | ctdb/lib/tdb/common/io.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ctdb/lib/tdb/common/io.c b/ctdb/lib/tdb/common/io.c index 85f69ab0d6..5b20fa1902 100644 --- a/ctdb/lib/tdb/common/io.c +++ b/ctdb/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 }; /* |