]> git.karo-electronics.de Git - linux-beck.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)
commit268eff909afaca93188d2d14554cbf824f6a0e41
tree447eb3dc54702ecf39096960ece52b3d2cb3e8e9
parentfec2be706dfb1f2f70ffd04319841ec0dfc546b2
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