tdb: cleanup: rename global_lock to allrecord_lock.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Feb 2010 03:03:06 +0000 (13:33 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Feb 2010 03:03:06 +0000 (13:33 +1030)
commit1d03cc6df3b4f5c8174096ae3411527f266f9a97
tree26670ad2d9b30c9e88a7014f7782ba329eaf0b60
parent05f69a4723f3a48502a699805c90c16489bf0525
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>
ccan/tdb/lock.c
ccan/tdb/open.c
ccan/tdb/tdb.c
ccan/tdb/tdb_private.h
ccan/tdb/transaction.c