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)
commit0641a43cd6fd081cac0275f5bde2ad70fa6a71bb
tree12602ceebfdc285a73ff9f4a1a8c59c462da6587
parent5b13a564b8459c3134a43e1d4b4a791e33108b1b
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
source/ntvfs/common/opendb_tdb.c