]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda14ec1289055994ba9899357efad3e6c61bc882
tree9cb6a9e4abe95b803756281474ec038f6d8220d8
parent6a174d0ce3f46cc423b76913aa840f9813774414
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