X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=lib%2Ftdb%2Fcommon%2Flock.c;fp=lib%2Ftdb%2Fcommon%2Flock.c;h=6f5799a8198f13dd06851aae03869c635035200e;hb=9136818df30c7179e1cffa18201cdfc990ebd7b7;hp=870601126bdb82d72163f3aba5b0f76f66c5c86e;hpb=e8fa70a321d489b454b07bd65e9b0d95084168de;p=ira%2Fwip.git diff --git a/lib/tdb/common/lock.c b/lib/tdb/common/lock.c index 870601126bd..6f5799a8198 100644 --- a/lib/tdb/common/lock.c +++ b/lib/tdb/common/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;