]> git.karo-electronics.de Git - karo-tx-linux.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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:46:23 +0000 (12:46 -0400)
commitd6c8c6d791e43766d650728e92541bd5753c758f
treebba4bf5c72796a87387e55ea7d1317b886de2685
parenta8a0a6f86f5708551131501761c0495fe6d4512a
Staging: hv: fix sysfs symlink on hv block device

commit 268eff909afaca93188d2d14554cbf824f6a0e41 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/staging/hv/blkvsc_drv.c