lkml.org 
[lkml]   [2004]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectcciss uipdates for 2.6.6xxx [2/2]
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.022 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site