tdb: cleanup: rename GLOBAL_LOCK to OPEN_LOCK.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 17 Feb 2010 01:48:33 +0000 (12:18 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 17 Feb 2010 01:48:33 +0000 (12:18 +1030)
commit7ab422d6fbd4f8be02838089a41f872d538ee7a7
treebee48874b28925ba38e2f8049039359c2967fa73
parenta6e0ef87d25734760fe77b87a9fd11db56760955
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>
lib/tdb/common/open.c
lib/tdb/common/tdb_private.h
lib/tdb/common/transaction.c