summaryrefslogtreecommitdiff
path: root/lib/tdb/common/tdb_private.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2010-02-17 12:37:34 +1030
committerRusty Russell <rusty@rustcorp.com.au>2010-02-17 12:37:34 +1030
commite8fa70a321d489b454b07bd65e9b0d95084168de (patch)
tree3cc3c9adab474b3bdd0e87a9e226573b215ee112 /lib/tdb/common/tdb_private.h
parentce41411c84760684ce539b6a302a0623a6a78a72 (diff)
downloadsamba-e8fa70a321d489b454b07bd65e9b0d95084168de.tar.gz
samba-e8fa70a321d489b454b07bd65e9b0d95084168de.tar.bz2
samba-e8fa70a321d489b454b07bd65e9b0d95084168de.zip
tdb: use tdb_nest_lock() for transaction lock.
Rather than a boutique lock and a separate nest count, use our newly-generic nested lock tracking for the transaction lock. Note that the tdb_have_extra_locks() and tdb_release_extra_locks() functions have to skip over this lock now it is tracked. 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/tdb/common/tdb_private.h b/lib/tdb/common/tdb_private.h
index 32c05210ba..2e3c30f0ed 100644
--- a/lib/tdb/common/tdb_private.h
+++ b/lib/tdb/common/tdb_private.h
@@ -209,7 +209,6 @@ struct tdb_context {
struct tdb_transaction *transaction;
int page_size;
int max_dead_records;
- int transaction_lock_count;
#ifdef TDB_TRACE
int tracefd;
#endif