linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 2.5.42, cciss, zero cylinders (4 of 7)
@ 2002-10-14 21:10 Stephen Cameron
  0 siblings, 0 replies; only message in thread
From: Stephen Cameron @ 2002-10-14 21:10 UTC (permalink / raw)
  To: linux-kernel; +Cc: axboe


patch 4 of 7 
zero out cylinders too when zeroing disk info.
applies to 2.5.42

diff -urN linux-2.5.42-d/drivers/block/cciss.c linux-2.5.42-e/drivers/block/cciss.c
--- linux-2.5.42-d/drivers/block/cciss.c	Mon Oct 14 10:28:19 2002
+++ linux-2.5.42-e/drivers/block/cciss.c	Mon Oct 14 11:06:29 2002
@@ -810,6 +810,7 @@
 	/* 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-14 21:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-14 21:10 [PATCH] 2.5.42, cciss, zero cylinders (4 of 7) Stephen Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).