[Fwd: [PATCH 1/1] cciss: fix regression, sysfs symlink missing]

Prarit Bhargava prarit at redhat.com
Wed Oct 15 16:28:57 UTC 2008



Doug Chapman wrote:
> This patch has been submitted upstream but I don't know if it will get
> pulled in to Fedora through the normal channels prior to F10 or not.
> Without this patch Fedora 10 will not install on cciss which breaks
> nearly all HP server systems.
>
> thanks,
>
>   

I think it is important to get this in for HP systems (which I often use 
to test with)...

Chuck, Dave?  Think we can take this one-liner in?

P.

> - Doug
>
>   
>
> ------------------------------------------------------------------------
>
> Subject:
> [PATCH 1/1] cciss: fix regression, sysfs symlink missing
> From:
> Mike Miller <mike.miller at hp.com>
> Date:
> Tue, 14 Oct 2008 13:46:49 -0500
> To:
> Andrew Morton <akpm at linux-foundation.org>, JensAxboejens.axboe at oracle.com
>
> To:
> Andrew Morton <akpm at linux-foundation.org>, JensAxboejens.axboe at oracle.com
> CC:
> LKML <linux-kernel at vger.kernel.org>, LKML-scsi 
> <linux-scsi at vger.kernel.org>, dchapman at redhat.com, hare at novell.com, 
> sandy.garza at hp.com, karen.skweres at hp.com
>
>
> 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 at 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);
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Fedora-kernel-list mailing list
> Fedora-kernel-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-kernel-list
>   




More information about the Fedora-kernel-list mailing list