r23370: Traverse in tdb wasn't consistently using the
authorJeremy Allison <jra@samba.org>
Thu, 7 Jun 2007 00:00:45 +0000 (00:00 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:10 +0000 (12:23 -0500)
commitd0b64567630ec02eb437aa713847bb23a8be8a60
treed5a48eb9ee00c0d18f2d7449b2fc0938559e61d6
parent07b71a02aef15b75d281cabeb7140db1bc0bb283
r23370: Traverse in tdb wasn't consistently using the
travlocks.lock_rw for lock read/write types, it
was sometimes using it (tdb_next_lock) and
sometimes explicitly using F_WRLCK instead.
Change this to consistently use travlocks.lock_rw
only.
I'm pretty sure about this fix (else I woudn't
be checking this in :-) but tridge and Volker
please review.
Jeremy.
source/lib/tdb/common/traverse.c