dafs-shutdown-state-fix-20070912
authorJeffrey Hutzelman <jhutz@cmu.edu>
Wed, 12 Sep 2007 19:25:53 +0000 (19:25 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 12 Sep 2007 19:25:53 +0000 (19:25 +0000)
clean up the dafs shutdown code to not read bogus info into the id

src/vol/volume.c

index 0ab72f5..bf9b589 100644 (file)
@@ -6188,7 +6188,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;
        }