cciss uipdates for 2.6.6xxx [2/2]

From: mikem
Date: Tue Apr 06 2004 - 15:08:10 EST


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
-------------------------------------------------------------------------------

diff -burpN lx265-t1/drivers/block/cciss.c lx265-t2/drivers/block/cciss.c
--- lx265-t1/drivers/block/cciss.c 2004-04-06 14:16:39.000000000 -0500
+++ lx265-t2/drivers/block/cciss.c 2004-04-06 14:21:43.000000000 -0500
@@ -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];
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/