Staging: hv: Introduce a common function for issuing commands to the device
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 22 Apr 2011 21:55:08 +0000 (14:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 25 Apr 2011 23:22:50 +0000 (16:22 -0700)
commit2ede209f5bc3114d90f3dd38a46ceb882409f65c
tree7b1b9c4282cddd29ac5c0eb91b3c271d276a22fb
parentea50245ffa5cf5b5ae27ddc920c50d33cbeecb49
Staging: hv: Introduce a common function for issuing commands to the device

There are multiple functions to either get info about the device
(INQUIRY, CAPACITY etc) or to FLUSH the device cache. The majority of the
code for these functions is identical. Introduce a common function for
doing all these operations.

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