tdb: cleanup: remove ltype argument from _tdb_transaction_cancel.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Feb 2010 04:33:23 +0000 (15:03 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Feb 2010 04:33:23 +0000 (15:03 +1030)
commitf0d790f1304cf66b679e0c7ee92bc52933b562b8
treef368a972ff5c574aff9b4e7ccebe0d512b7d8287
parent88541fe7eb0542150669312675ddc00e9684de66
tdb: cleanup: remove ltype argument from _tdb_transaction_cancel.

Now the transaction allrecord lock the standard one, and thus is cleaned
in tdb_release_extra_locks(), _tdb_transaction_cancel() doesn't need to
know what type it is.

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