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/
This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:41 EST