summaryrefslogtreecommitdiff
path: root/lib/tdb/common/tdb_private.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2010-02-24 11:02:55 +1030
committerRusty Russell <rusty@rustcorp.com.au>2010-02-24 11:02:55 +1030
commita84222bbaf9ed2c7b9c61b8157b2e3c85f17fa32 (patch)
tree3b3731eb86d5c48e213f1b78a3316118b0f0631e /lib/tdb/common/tdb_private.h
parentdd1b508c63034452673dbfee9956f52a1b6c90a5 (diff)
downloadsamba-a84222bbaf9ed2c7b9c61b8157b2e3c85f17fa32.tar.gz
samba-a84222bbaf9ed2c7b9c61b8157b2e3c85f17fa32.tar.bz2
samba-a84222bbaf9ed2c7b9c61b8157b2e3c85f17fa32.zip
tdb: rename tdb_release_extra_locks() to tdb_release_transaction_locks()
tdb_release_extra_locks() is too general: it carefully skips over the transaction lock, even though the only caller then drops it. Change this, and rename it to show it's clearly transaction-specific. 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, 1 insertions, 1 deletions
diff --git a/lib/tdb/common/tdb_private.h b/lib/tdb/common/tdb_private.h
index 013c2f022e..b031ddd324 100644
--- a/lib/tdb/common/tdb_private.h
+++ b/lib/tdb/common/tdb_private.h
@@ -233,7 +233,7 @@ int tdb_brlock(struct tdb_context *tdb,
int tdb_brunlock(struct tdb_context *tdb,
int rw_type, tdb_off_t offset, size_t len);
bool tdb_have_extra_locks(struct tdb_context *tdb);
-void tdb_release_extra_locks(struct tdb_context *tdb);
+void tdb_release_transaction_locks(struct tdb_context *tdb);
int tdb_transaction_lock(struct tdb_context *tdb, int ltype);
int tdb_transaction_unlock(struct tdb_context *tdb, int ltype);
int tdb_allrecord_lock(struct tdb_context *tdb, int ltype,