diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2010-02-17 12:18:33 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-02-17 12:18:33 +1030 |
commit | 7ab422d6fbd4f8be02838089a41f872d538ee7a7 (patch) | |
tree | bee48874b28925ba38e2f8049039359c2967fa73 /lib/tdb/common/tdb_private.h | |
parent | a6e0ef87d25734760fe77b87a9fd11db56760955 (diff) | |
download | samba-7ab422d6fbd4f8be02838089a41f872d538ee7a7.tar.gz samba-7ab422d6fbd4f8be02838089a41f872d538ee7a7.tar.bz2 samba-7ab422d6fbd4f8be02838089a41f872d538ee7a7.zip |
tdb: cleanup: rename GLOBAL_LOCK to OPEN_LOCK.
The word global is overloaded in tdb. The GLOBAL_LOCK offset is used at
open time to serialize initialization (and by the transaction code to block
open).
Rename it to OPEN_LOCK.
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb/common/tdb_private.h b/lib/tdb/common/tdb_private.h index 093dd9a137..be630e8bfa 100644 --- a/lib/tdb/common/tdb_private.h +++ b/lib/tdb/common/tdb_private.h @@ -102,7 +102,7 @@ void tdb_trace_2rec_retrec(struct tdb_context *tdb, const char *op, #endif /* !TDB_TRACE */ /* lock offsets */ -#define GLOBAL_LOCK 0 +#define OPEN_LOCK 0 #define ACTIVE_LOCK 4 #define TRANSACTION_LOCK 8 |