* [PATCH 1/2] cciss: fix regression broken sysfs symlink (again)
@ 2008-10-16 22:47 Mike Miller
0 siblings, 0 replies; only message in thread
From: Mike Miller @ 2008-10-16 22:47 UTC (permalink / raw)
To: Andrew Morton, Jens Axboe; +Cc: LKML, lkml.scsi, alan.brunelle
Patch 1 of 2
The regression was introduced by commit
6ae5ce8e8d4de666f31286808d2285aa6a50fa40.
This patch obsoletes the one I sent yesterday. It fixes a broken symlink in
sysfs. The previous patch appeared to work but was wrong as reported by Alan
Brunelle.
Please consider this for inclusion.
Signed-off-by: Mike Miller <mike.miller@hp.com>
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 1e1f915..0f367b1 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -1365,6 +1365,7 @@ static void cciss_add_disk(ctlr_info_t *h, struct gendisk *disk,
disk->first_minor = drv_index << NWD_SHIFT;
disk->fops = &cciss_fops;
disk->private_data = &h->drv[drv_index];
+ disk->driverfs_dev = &h->pdev->dev;
/* Set up queue information */
blk_queue_bounce_limit(disk->queue, h->pdev->dma_mask);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-16 22:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-16 22:47 [PATCH 1/2] cciss: fix regression broken sysfs symlink (again) Mike Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®