]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-dafs-shutdown-state-fix-20070912
authorJeffrey Hutzelman <jhutz@cmu.edu>
Wed, 12 Sep 2007 19:27:29 +0000 (19:27 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 12 Sep 2007 19:27:29 +0000 (19:27 +0000)
clean up the dafs shutdown code to not read bogus info into the id

(cherry picked from commit f15a9a2788a2de589adda1a990a34d36851c4978)

src/vol/volume.c

index 41af925b174b179b49d6146ab012507e5477b918..3e6f54868be773ccf148c3c3997c5909b4aa9805 100644 (file)
@@ -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;
        }