mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2/10] 2.5.44 cciss zero cylinders too
@ 2002-10-23 15:26 Stephen Cameron
  0 siblings, 0 replies; only message in thread
From: Stephen Cameron @ 2002-10-23 15:26 UTC (permalink / raw)
  To: linux-kernel

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);
 }

.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-23 15:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-23 15:26 [PATCH 2/10] 2.5.44 cciss zero cylinders too Stephen Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®