From: Jeffrey Hutzelman Date: Wed, 12 Sep 2007 19:27:29 +0000 (+0000) Subject: DEVEL15-dafs-shutdown-state-fix-20070912 X-Git-Tag: openafs-devel-1_5_25~16 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=4db3d850a21bbf6680df9c532da19685e6bbf9b5;p=packages%2Fo%2Fopenafs.git DEVEL15-dafs-shutdown-state-fix-20070912 clean up the dafs shutdown code to not read bogus info into the id (cherry picked from commit f15a9a2788a2de589adda1a990a34d36851c4978) --- diff --git a/src/vol/volume.c b/src/vol/volume.c index 41af925b1..3e6f54868 100644 --- a/src/vol/volume.c +++ b/src/vol/volume.c @@ -6194,7 +6194,7 @@ VPrintExtendedCacheStats_r(int flags) VOL_LOCK; for (diskP = DiskPartitionList; diskP; diskP = diskP->next) { - id = diskP->device; + id = diskP->index; vol_count[id] = diskP->vol_list.len; part_exists[id] = 1; }