OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3615-g470b57c
Gerrit Code Review
gerrit@openafs.org
Mon, 11 Mar 2013 17:46:51 -0700 (PDT)
The following commit has been merged in the master branch:
commit 470b57cc4a60d18aaab41a58b6a93f8baa3caead
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Thu Mar 7 09:25:09 2013 -0500
Windows: cm_BPlusDirEnumBulkStatNext index error
In cm_BPlusDirEnumBulkStatNext the 'next' variable was being set
even if the FileId was not added to the list of objects added to
the cm_bulkStat array. Delay the assignment to ensure that 'next'
refers to the first element in the array.
In the CM_ERROR_BULKSTAT_FAILURE processing, 'next' is used to
obtain a reference to the cm_scache object that is supposed to
correlate to the [1] entry in the array. If 'next' == -1, there
is no such entry. Add a conditional to ensure that 'next' is not
used when its value is -1.
Change-Id: I4ebc49de4bf67eee5a28790cd49f0128891cc202
Reviewed-on: http://gerrit.openafs.org/9450
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsd/cm_btree.c | 29 +++++++++++++++++------------
1 files changed, 17 insertions(+), 12 deletions(-)
--
OpenAFS Master Repository