]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit41b7f7f6964feb3f8ed48a4ccaae54dad7c470d4
treeb8088158ce08fd7957cf6286c1080ab7938f2912
parent5af463917c24e206daaa2ad02e1061974446b8ad
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