]> git.ozlabs.org Git - ccan/commit
tdb2: rework lock.c static functions to return enum TDB_ERROR.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 1 Mar 2011 12:49:19 +0000 (23:19 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 1 Mar 2011 12:49:19 +0000 (23:19 +1030)
commit50b15fbd060dcf6da9cbc44b8dadc74c3665721c
treeaed617aae8b6712a8c4e37b31d865e71f0028436
parentf6d1f564b9dd7c1871128e70477e19e4044ff50f
tdb2: rework lock.c static functions to return enum TDB_ERROR.

We make tdb_brlock() and tdb_lock_gradual() return an error code directly:
the callers have to set tdb->ecode.
ccan/tdb2/lock.c