lkml.org 
[lkml]   [2002]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2.5.41, cciss (2 of 3)

Set gendisk fops. (IBM logical volume manager, for one, needs this.)

diff -urN linux-2.5.41-o/drivers/block/cciss.c linux-2.5.41-p/drivers/block/cciss.c
--- linux-2.5.41-o/drivers/block/cciss.c Wed Oct 9 15:08:22 2002
+++ linux-2.5.41-p/drivers/block/cciss.c Wed Oct 9 15:22:14 2002
@@ -2501,6 +2501,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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.058 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site