提交 27c0ff86 编写于 作者: G Greg Kroah-Hartman

[PATCH] CCISS: add device symlink to the block cciss block devices in sysfs

Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 c18f6365
......@@ -3237,6 +3237,7 @@ static int __devinit cciss_init_one(struct pci_dev *pdev,
disk->fops = &cciss_fops;
disk->queue = q;
disk->private_data = drv;
disk->driverfs_dev = &pdev->dev;
/* we must register the controller even if no disks exist */
/* this is for the online array utilities */
if(!drv->heads && j)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册