linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Cameron <steve.cameron@hp.com>
To: linux-kernel@vger.kernel.org
Cc: axboe@suse.de
Subject: [PATCH] 2.5.42, cciss, zero cylinders (4 of 7)
Date: Mon, 14 Oct 2002 15:10:33 -0600	[thread overview]
Message-ID: <20021014151033.D1257@zuul.cca.cpqcorp.net> (raw)


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

                 reply	other threads:[~2002-10-14 21:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021014151033.D1257@zuul.cca.cpqcorp.net \
    --to=steve.cameron@hp.com \
    --cc=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).