Staging: hv: make the Hyper-V virtual block driver build
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 14 Jul 2009 17:24:38 +0000 (10:24 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:45 +0000 (12:01 -0700)
commit0fce4c2f491cc1a579cac28b67208600cfff6d38
tree45e7b28a1dc900e9d96e8416304bcd1f60619030
parent0883c52bb245cb2be20546babcd54121e7ff17e2
Staging: hv: make the Hyper-V virtual block driver build

The #define KERNEL_2_6_27 needs to be set, and I adjusted the include
directories a bit to get things to build properly.

I also fixed up the direct access of bus_id, as that field is now gone.
Lots of block api changes were needed, and I don't think I got it
all correct.  It would be great of someone who knows the block api better
could review it.

The hv_blkvsc code should now build, with no errors.

Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/BlkVsc.c
drivers/staging/hv/blkvsc_drv.c