summaryrefslogtreecommitdiff
path: root/lib/tdb/common/tdb_private.h
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/tdb_private.h
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/tdb_private.h')
-rw-r--r--lib/tdb/common/tdb_private.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/tdb/common/tdb_private.h b/lib/tdb/common/tdb_private.h
index b031ddd324..f086e7d905 100644
--- a/lib/tdb/common/tdb_private.h
+++ b/lib/tdb/common/tdb_private.h
@@ -179,8 +179,6 @@ struct tdb_methods {
void (*next_hash_chain)(struct tdb_context *, uint32_t *);
int (*tdb_oob)(struct tdb_context *, tdb_off_t , int );
int (*tdb_expand_file)(struct tdb_context *, tdb_off_t , tdb_off_t );
- int (*brlock)(struct tdb_context *, int, tdb_off_t, size_t, enum tdb_lock_flags);
- int (*brunlock)(struct tdb_context *, int, tdb_off_t, size_t);
};
struct tdb_context {