storvsc: Set the SRB flags correctly when no data transfer is needed

commit dc45708ca9 upstream.

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.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Long Li <longli@microsoft.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
K. Y. Srinivasan 2015-05-01 11:03:02 -07:00 • committed by Luis Henriques
commit 32bfef861c