]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/scsi/storvsc_drv.c
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)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Jul 2014 21:17:03 +0000 (17:17 -0400)
commitf885fb73f64154690c2158e813de56363389ffec
tree9cb6a9e4abe95b803756281474ec038f6d8220d8
parent56b26e69c8283121febedd12b3cc193384af46b9
drivers: scsi: storvsc: Set srb_flags in all cases

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/storvsc_drv.c