From: mike.miller@hp.com
To: akpm@osdl.org, axboe@suse.de
Cc: linux-kernel@vger.kernel.org
Subject: Re: FW: cciss update for 2.6 -- resubmit
Date: Fri, 26 Mar 2004 08:19:46 -0600 [thread overview]
Message-ID: <20040326141946.GF4456@beardog.cca.cpqcorp.net> (raw)
In-Reply-To: <D4CFB69C345C394284E4B78B876C1CF105BC1F6E@cceexc23.americas.cpqcorp.net>
This is the right patch for 2.6. Sorry for my confusion.
cciss.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
diff -burpN lx265-rc2.orig/drivers/block/cciss.c lx265-rc2/drivers/block/cciss.c
--- lx265-rc2.orig/drivers/block/cciss.c 2004-03-12 10:10:47.000000000 -0600
+++ lx265-rc2/drivers/block/cciss.c 2004-03-26 08:09:52.000000000 -0600
@@ -469,11 +469,8 @@ static int cciss_ioctl(struct inode *ino
driver_geo.heads = drv->heads;
driver_geo.sectors = drv->sectors;
driver_geo.cylinders = drv->cylinders;
- } else {
- driver_geo.heads = 0xff;
- driver_geo.sectors = 0x3f;
- driver_geo.cylinders = (int)drv->nr_blocks / (0xff*0x3f);
- }
+ } else
+ return -ENXIO;
driver_geo.start= get_start_sect(inode->i_bdev);
if (copy_to_user((void *) arg, &driver_geo,
sizeof( struct hd_geometry)))
parent reply other threads:[~2004-03-26 14:06 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <D4CFB69C345C394284E4B78B876C1CF105BC1F6E@cceexc23.americas.cpqcorp.net>]
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=20040326141946.GF4456@beardog.cca.cpqcorp.net \
--to=mike.miller@hp.com \
--cc=akpm@osdl.org \
--cc=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mikem@beardog.cca.cpqcorp.net \
/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
all inboxes | Powered by JetHome®