tdb: cleanup: rename global_lock to allrecord_lock.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 17 Feb 2010 01:49:47 +0000 (12:19 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 17 Feb 2010 01:49:47 +0000 (12:19 +1030)
commite9114a758538d460d4f9deae5ce631bf44b1eff8
treee56ad1e44f421d278bb467d6d83e1deeccd9b8bb
parent7ab422d6fbd4f8be02838089a41f872d538ee7a7
tdb: cleanup: rename global_lock to allrecord_lock.

The word global is overloaded in tdb.  The global_lock inside struct
tdb_context is used to indicate we hold a lock across all the chains.

Rename it to allrecord_lock.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
lib/tdb/common/lock.c
lib/tdb/common/open.c
lib/tdb/common/tdb.c
lib/tdb/common/tdb_private.h
lib/tdb/common/transaction.c