tdb: rename tdb_release_extra_locks() to tdb_release_transaction_locks()
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 00:32:55 +0000 (11:02 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 00:32:55 +0000 (11:02 +1030)
commita84222bbaf9ed2c7b9c61b8157b2e3c85f17fa32
tree3b3731eb86d5c48e213f1b78a3316118b0f0631e
parentdd1b508c63034452673dbfee9956f52a1b6c90a5
tdb: rename tdb_release_extra_locks() to tdb_release_transaction_locks()

tdb_release_extra_locks() is too general: it carefully skips over the
transaction lock, even though the only caller then drops it.  Change
this, and rename it to show it's clearly transaction-specific.

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