tdb: rename tdb_release_extra_locks() to tdb_release_transaction_locks()
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 22 Apr 2010 04:24:05 +0000 (13:54 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 22 Apr 2010 04:24:05 +0000 (13:54 +0930)
commit803035716338170896fee15f15b17c32e7ee777e
treec01a47018969a603ff2007f596cd68a91aae3417
parent74874ffb2c81e098c1d7935b37557c2151382ca6
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>
(Imported from commit a84222bbaf9ed2c7b9c61b8157b2e3c85f17fa32)
lib/tdb/common/lock.c
lib/tdb/common/tdb_private.h
lib/tdb/common/transaction.c