summaryrefslogtreecommitdiff
path: root/source3/tdb/tdb.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1999-12-23 01:14:20 +0000
committerAndrew Tridgell <tridge@samba.org>1999-12-23 01:14:20 +0000
commitc23a552c58609450201e98d04fdcb56402e3bd0c (patch)
tree0e6a485882c60bd860eef266e1ed364d70761647 /source3/tdb/tdb.h
parent5b3096a32fff88cb5f5388402f327da7b3d3dc18 (diff)
downloadsamba-c23a552c58609450201e98d04fdcb56402e3bd0c.tar.gz
samba-c23a552c58609450201e98d04fdcb56402e3bd0c.tar.bz2
samba-c23a552c58609450201e98d04fdcb56402e3bd0c.zip
fixed locking code
(This used to be commit 1f5dc924044fb54b10ac8884d4df1e15902de8be)
Diffstat (limited to 'source3/tdb/tdb.h')
-rw-r--r--source3/tdb/tdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/tdb.h b/source3/tdb/tdb.h
index 111b804f71..527e65740a 100644
--- a/source3/tdb/tdb.h
+++ b/source3/tdb/tdb.h
@@ -40,7 +40,7 @@ typedef struct {
int fd; /* open file descriptor for the database */
tdb_len map_size; /* how much space has been mapped */
int read_only; /* opened read-only */
- int write_locked; /* set if we have the db locked */
+ int *locked; /* set if we have a chain locked */
struct tdb_header header; /* a cached copy of the header */
} TDB_CONTEXT;