From: Stephen Cameron <steve.cameron@hp.com>
To: linux-kernel@vger.kernel.org
Cc: axboe@suse.de
Subject: [PATCH] 2.5.42, cciss, set gendisk fops (2 of 7)
Date: Mon, 14 Oct 2002 15:07:51 -0600 [thread overview]
Message-ID: <20021014150751.B1257@zuul.cca.cpqcorp.net> (raw)
Patch 2 of 7
This patch sets the fops (IBM logical volume manager needs this, for one.)
Applies to 2.5.42.
diff -urN linux-2.5.42-b/drivers/block/cciss.c linux-2.5.42-c/drivers/block/cciss.c
--- linux-2.5.42-b/drivers/block/cciss.c Mon Oct 14 10:08:01 2002
+++ linux-2.5.42-c/drivers/block/cciss.c Mon Oct 14 10:19:07 2002
@@ -2448,6 +2448,7 @@
disk->major = MAJOR_NR + i;
disk->first_minor = j << NWD_SHIFT;
disk->minor_shift = NWD_SHIFT;
+ disk->fops = &cciss_fops;
if( !(drv->nr_blocks))
continue;
(BLK_DEFAULT_QUEUE(MAJOR_NR + i))->hardsect_size = drv->block_size;
reply other threads:[~2002-10-14 21:05 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=20021014150751.B1257@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
all inboxes | Powered by JetHome®