diff options
author | Andrew Tridgell <tridge@samba.org> | 1999-12-23 01:14:20 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1999-12-23 01:14:20 +0000 |
commit | c23a552c58609450201e98d04fdcb56402e3bd0c (patch) | |
tree | 0e6a485882c60bd860eef266e1ed364d70761647 /source3/tdb/tdb.h | |
parent | 5b3096a32fff88cb5f5388402f327da7b3d3dc18 (diff) | |
download | samba-c23a552c58609450201e98d04fdcb56402e3bd0c.tar.gz samba-c23a552c58609450201e98d04fdcb56402e3bd0c.tar.xz 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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/tdb.h b/source3/tdb/tdb.h index 111b804f71e..527e65740a6 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; |