tdb: cleanup: rename GLOBAL_LOCK to OPEN_LOCK.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Feb 2010 02:59:36 +0000 (13:29 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Feb 2010 02:59:36 +0000 (13:29 +1030)
commit05f69a4723f3a48502a699805c90c16489bf0525
treef3c7c90418d8baa14e017f779bf0b1fe00a1fb7f
parentec4174af665a48a4ff08a7e053e78b1d376897f4
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>
ccan/tdb/open.c
ccan/tdb/tdb_private.h
ccan/tdb/transaction.c