]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: hv: fix sysfs symlink on hv block device
authorKy Srinivasan <ksrinivasan@novell.com>
Fri, 17 Dec 2010 01:59:19 +0000 (18:59 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 Jan 2011 19:58:26 +0000 (11:58 -0800)
commit6cb7b16994b64bae0e45db4607da3a176631b5f1
tree447eb3dc54702ecf39096960ece52b3d2cb3e8e9
parentea638ad91516ee4f757982ea0b599b13b21e04b9
Staging: hv: fix sysfs symlink on hv block device

The block device does not create the proper symlink in sysfs because we
forgot to set up the gendisk structure properly.  This patch fixes the
issue.

Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/blkvsc_drv.c