Skip to contentSkip to conversation

2.5.44 cciss zero cylinders too

PATCH New Stephen Cameron 1 participant 1 message Oct 23, 2002 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 2/10 2.5.44 cciss zero cylinders too

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
drivers/block/cciss.c renamed from drivers/block/cciss.c~zero_cyls +1 -0
@@ -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);
 }

.