[PATCH 2/10] 2.5.44 cciss zero cylinders too

From: Stephen Cameron (steve.cameron@hp.com)
Date: Wed Oct 23 2002 - 10:26:37 EST


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

.
-
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 : Wed Oct 23 2002 - 22:01:04 EST