2002-10-16 21:34:34

by Cameron, Steve

[permalink] [raw]
Subject: [PATCH 3/8] 2.5.43 cciss init gendisk->fops


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;