]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb/lock.c
tdb: use tdb_nest_lock() for open lock.
[ccan] / ccan / tdb / lock.c
index 870601126bdb82d72163f3aba5b0f76f66c5c86e..6f5799a8198f13dd06851aae03869c635035200e 100644 (file)
@@ -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;