X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb%2Flock.c;h=6f5799a8198f13dd06851aae03869c635035200e;hp=870601126bdb82d72163f3aba5b0f76f66c5c86e;hb=e9989ef0758b3b660abf444d014c5b51a3a7c1b4;hpb=99e576ac94fd86fcba188fb72ced9e8087ac1680 diff --git a/ccan/tdb/lock.c b/ccan/tdb/lock.c index 87060112..6f5799a8 100644 --- a/ccan/tdb/lock.c +++ b/ccan/tdb/lock.c @@ -683,7 +683,8 @@ bool tdb_have_extra_locks(struct tdb_context *tdb) return extra; } -/* The transaction code uses this to remove all locks. */ +/* The transaction code uses this to remove all locks. Note that this + may include OPEN_LOCK. */ void tdb_release_extra_locks(struct tdb_context *tdb) { unsigned int i, extra = 0;