storvsc: Set the SRB flags correctly when no data transfer is needed
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 1 May 2015 18:03:02 +0000 (11:03 -0700)
committerJames Bottomley <JBottomley@Odin.com>
Mon, 11 May 2015 16:46:41 +0000 (09:46 -0700)
commitdc45708ca9988656d706940df5fd102672c5de92
treeb8088158ce08fd7957cf6286c1080ab7938f2912
parent118c855b5623f3e2e6204f02623d88c09e0c34de
storvsc: Set the SRB flags correctly when no data transfer is needed

Set the SRB flags correctly when there is no data transfer.  Without this
change some IHV drivers will fail valid commands such as TEST_UNIT_READY.

Cc: <stable@vger.kernel.org>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Long Li <longli@microsoft.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/storvsc_drv.c