git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a6d7cac
)
dafs-shutdown-state-fix-20070912
author
Jeffrey Hutzelman
<jhutz@cmu.edu>
Wed, 12 Sep 2007 19:25:53 +0000 (19:25 +0000)
committer
Derrick 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
patch
|
blob
|
history
diff --git
a/src/vol/volume.c
b/src/vol/volume.c
index
0ab72f5
..
bf9b589
100644
(file)
--- a/
src/vol/volume.c
+++ b/
src/vol/volume.c
@@
-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;
}