DESC
Zero out cylinders when zeroing out other disk info.
drivers/block/cciss.c | 1 +
1 files changed, 1 insertion
--- linux-2.5.44/drivers/block/cciss.c~zero_cyls Mon Oct 21 12:05:12 2002
+++ linux-2.5.44-root/drivers/block/cciss.c Mon Oct 21 12:05:12 2002
@@ -808,6 +808,7 @@ static int deregister_disk(int ctlr, int
/* 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/