public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] cciss: fix regression, sysfs symlink missing
@ 2008-10-14 18:46 Mike Miller
  2008-10-16 15:21 ` Alan D. Brunelle
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Miller @ 2008-10-14 18:46 UTC (permalink / raw)
  To: Andrew Morton, JensAxboejens.axboe
  Cc: LKML, LKML-scsi, dchapman, hare, sandy.garza, karen.skweres

Patch 1 of 1

This patch fixes a regression where the device symlink to the pci address is
not created. Offending commit 6ae5ce8e8d4de666f31286808d2285aa6a50fa40,
cciss: rmove redundant code.

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..44fb98e 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 = &(hba[drv_index]->pdev->dev);
 
 	/* Set up queue information */
 	blk_queue_bounce_limit(disk->queue, h->pdev->dma_mask);

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-16 15:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-14 18:46 [PATCH 1/1] cciss: fix regression, sysfs symlink missing Mike Miller
2008-10-16 15:21 ` Alan D. Brunelle
2008-10-16 15:50   ` Miller, Mike (OS Dev)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox