]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerJiri Slaby <jslaby@suse.cz>
Tue, 2 Jun 2015 09:46:49 +0000 (11:46 +0200)
commit5ad7463fd6bf6187f15324c42337d9a5fbf2a1e9
treec5785143e46431dc1f5f04d495848a397a031c07
parent41771451c8448d5c4a7770b596c199e3ce0d5517
storvsc: Set the SRB flags correctly when no data transfer is needed

commit dc45708ca9988656d706940df5fd102672c5de92 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.

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: Jiri Slaby <jslaby@suse.cz>
drivers/scsi/storvsc_drv.c