Commit e43bd869 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] cciss: /proc fix

From: <mikem@beardog.cca.cpqcorp.net>

This patch fixes a bug where /proc displays 1 less logical volume than is
actually configured.  This causes problems for some installers.
parent c28abd70
......@@ -210,7 +210,7 @@ static int cciss_proc_get_info(char *buffer, char **start, off_t offset,
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];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment