r23370: Traverse in tdb wasn't consistently using the
commit68f2b1d9f6851a4582b0bb9f8add8c9d458b157f
authorJeremy Allison <jra@samba.org>
Thu, 7 Jun 2007 00:00:45 +0000 (7 00:00 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:10 +0000 (10 12:23 -0500)
tree7368ef9835f474e4ec83ced2969ba1e559e9cb2d
parent4a99ee023609a3e753bb66e1fcd019a97447d9dd
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.
(This used to be commit d0b64567630ec02eb437aa713847bb23a8be8a60)
source3/lib/tdb/common/traverse.c