opendb_tdb: keep struct opendb_file arround for the lifetime of struct odb_lock
authorStefan Metzmacher <metze@samba.org>
Sat, 8 Mar 2008 07:55:12 +0000 (08:55 +0100)
committerStefan Metzmacher <metze@samba.org>
Sat, 8 Mar 2008 08:28:17 +0000 (09:28 +0100)
commitdb06d932c8f43b02d4a54d0c139310a3890160d5
tree9abc2d5e1e225aa15765fab25302c942e0fbd51a
parent11fb55e8a478eed8d2496dee4b2a9cf5a3619454
opendb_tdb: keep struct opendb_file arround for the lifetime of struct odb_lock

That means we only have to parse the record once
and as the tdb record is locked the in memory copy
is always the same as the one in the tdb.

metze
(This used to be commit 0641a43cd6fd081cac0275f5bde2ad70fa6a71bb)
source4/ntvfs/common/opendb_tdb.c