virtio: Fix sysfs bits to have proper block symlink
authorJeremy Katz <katzj@redhat.com>
Sun, 2 Mar 2008 22:00:15 +0000 (17:00 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 17 Mar 2008 11:58:15 +0000 (22:58 +1100)
commitc483934670d31e064e18967bb679c1079b54ea72
tree5f8655fa105cd149f79ca42ef8c6579c2f1940c3
parent27ebe308af7c14aed0711e25817c6a1235bd16ff
virtio: Fix sysfs bits to have proper block symlink

Fix up so that the virtio_blk devices in sysfs link correctly to their
block device.  This then allows them to be detected by hal, etc

Signed-off-by: Jeremy Katz <katzj@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/block/virtio_blk.c