tdb: cleanup: tdb_lock_list helper to cover tdb_lock and tdb_lock_nonblock
Reduce code duplication, and also gives us a central point for the next
patch which wants to cover all list locks.
Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au>
Showing
Please register or sign in to comment