[PATCH 3/8] 2.5.43 cciss init gendisk->fops

Stephen Cameron (steve.cameron@hp.com)
Wed, 16 Oct 2002 15:35:46 -0600


Initialize cciss gendisk->fops

diff -urN linux-2.5.43-b/drivers/block/cciss.c linux-2.5.43-c/drivers/block/cciss.c
--- linux-2.5.43-b/drivers/block/cciss.c Wed Oct 16 08:15:16 2002
+++ linux-2.5.43-c/drivers/block/cciss.c Wed Oct 16 08:18:43 2002
@@ -2447,6 +2447,7 @@
sprintf(disk->disk_name, "cciss/c%dd%d", i, j);
disk->major = MAJOR_NR + i;
disk->first_minor = j << 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/