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

From: Stephen Cameron (steve.cameron@hp.com)
Date: Wed Oct 16 2002 - 16:35:46 EST


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/



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:30 EST