From c23a552c58609450201e98d04fdcb56402e3bd0c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 23 Dec 1999 01:14:20 +0000 Subject: fixed locking code (This used to be commit 1f5dc924044fb54b10ac8884d4df1e15902de8be) --- source3/tdb/tdb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/tdb/tdb.h') 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; -- cgit