drivers: scsi: storvsc: Set srb_flags in all cases
authorK. Y. Srinivasan <kys@microsoft.com>
Sat, 12 Jul 2014 16:48:31 +0000 (09:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Sep 2014 16:19:13 +0000 (09:19 -0700)
commitd36862f10d06de924c743694e0534d373795cac3
tree65ecca4ef11a38924e4bd65d73056005c54bd3b1
parentc5bf79597351f07bc363394249d1e84bcdb22b6b
drivers: scsi: storvsc: Set srb_flags in all cases

commit f885fb73f64154690c2158e813de56363389ffec upstream.

Correctly set SRB flags for all valid I/O directions. Some IHV drivers on the
Windows host require this. The host validates the command and SRB flags
prior to passing the command down to native driver stack.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/storvsc_drv.c