tdb: cleanup: tdb_release_extra_locks() helper
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 00:11:15 +0000 (10:41 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 00:11:15 +0000 (10:41 +1030)
commitdb270734d8b4208e00ce9de5af1af7ee11823f6d
tree80e33210bf98ca431456682a016632d93b7bc71b
parentfba42f1fb4f81b8913cce5a23ca5350ba45f40e1
tdb: cleanup: tdb_release_extra_locks() helper

Move locking intelligence back into lock.c, rather than open-coding the
lock release in transaction.c.

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