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)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 10 Jun 2015 17:42:39 +0000 (13:42 -0400)
commit65c686d9472936d333532e9f85c4ff35d65b722c
tree8512e20001a3f45d11efb75991060ae65607af9d
parent7cbece11c6b77acaf3421f8bf0d5684237c396c9
storvsc: Set the SRB flags correctly when no data transfer is needed

[ Upstream commit dc45708ca9988656d706940df5fd102672c5de92 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/scsi/storvsc_drv.c