[PATCH] 2.5.41, cciss (1 of 3)

Stephen Cameron (steve.cameron@hp.com)
Fri, 11 Oct 2002 08:08:38 -0600


Zero out cylinders too, when zeroing out disk size info.

diff -urN linux-2.5.41-n/drivers/block/cciss.c linux-2.5.41-o/drivers/block/cciss.c
--- linux-2.5.41-n/drivers/block/cciss.c Wed Oct 9 14:29:15 2002
+++ linux-2.5.41-o/drivers/block/cciss.c Wed Oct 9 15:08:22 2002
@@ -829,6 +829,7 @@
/* zero out the disk size info */
h->drv[logvol].nr_blocks = 0;
h->drv[logvol].block_size = 0;
+ h->drv[logvol].cylinders = 0;
h->drv[logvol].LunID = 0;
return(0);
}
-
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/