Skip to contentSkip to conversation

cciss uipdates for 2.6.6xxx [2/2]

PATCH [email protected] 1 participant 1 message Apr 6, 2004 Block layer

lore
Share & tools
lore
#0 lore raw

This patch fixes a bug where /proc displays 1 less logical volume than is actually configured. This causes problems for some installers. Please consider this for inclusion.

mikem
-------------------------------------------------------------------------------

drivers/block/cciss.c +1 -1
diff -burpN lx265-t1/drivers/block/cciss.c lx265-t2/drivers/block/cciss.c
@@ -210,7 +210,7 @@ static int cciss_proc_get_info(char *buf
 
         pos += size; len += size;
 	cciss_proc_tape_report(ctlr, buffer, &pos, &len);
-	for(i=0; i<h->highest_lun; i++) {
+	for(i=0; i<=h->highest_lun; i++) {
 		sector_t tmp;
 
                 drv = &h->drv[i];