* [PATCH] 2.5.42, cciss, set gendisk fops (2 of 7)
@ 2002-10-14 21:07 Stephen Cameron
0 siblings, 0 replies; only message in thread
From: Stephen Cameron @ 2002-10-14 21:07 UTC (permalink / raw)
To: linux-kernel; +Cc: axboe
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-14 21:05 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:07 [PATCH] 2.5.42, cciss, set gendisk fops (2 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).