OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_21-140-g8f42a6b
Gerrit Code Review
gerrit@openafs.org
Tue, 12 Mar 2013 05:54:40 -0700 (PDT)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit 63b01c0486a0baec4859970cde707508181a1b27
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.
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>
(cherry picked from commit 470b57cc4a60d18aaab41a58b6a93f8baa3caead)
Change-Id: I510cc8d99c306e607e4766bfa60ca54b9d3b74be
Reviewed-on: http://gerrit.openafs.org/9578
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-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