Patch 2 of 10
The whole set can be grabbed via anonymous cvs (empty password):
cvs -d:pserver:[email protected]:/cvsroot/cciss login
cvs -z3 -d:pserver:[email protected]:/cvsroot/cciss co 2.5.44
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);
}
.