DEVEL15-windows-btree-dir-enum-20090126
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 26 Jan 2009 15:50:59 +0000 (15:50 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 26 Jan 2009 15:50:59 +0000 (15:50 +0000)
commitce42351755b601232e2a903d2eddfd57e60486a6
treeb31ff1b0af55efff4a1963465b660d198a5ff30b
parentf93da82161979d25b5bf377a98837fe1f684a42e
DEVEL15-windows-btree-dir-enum-20090126

LICENSE MIT

Modify the cm_BPlusDirEnum interface:

* add the cm_scache_t * of the directory being enumerated to the
  cm_direnum_t object

* remove the cm_scache_t * from the cm_BPlusDirEnumBulkStat call
  now that it is part of the cm_direnum_t object

* maintain a reference to the cm_scache_t for the life of the
  cm_direnum_t object.  This ensures that the object cannot be
  recycled while the enumeration is in use.

(cherry picked from commit e42a066da153750077b154e27249b5b4862724db)
src/WINNT/afsd/cm_btree.c
src/WINNT/afsd/cm_btree.h