Drivers: scsi: storvsc: Filter commands based on the storage protocol version
authorK. Y. Srinivasan <kys@microsoft.com>
Sat, 12 Jul 2014 16:48:28 +0000 (09:48 -0700)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Jul 2014 21:17:03 +0000 (17:17 -0400)
commit8caf92d80526f3d7cc96831ec18b384ebcaccdf0
tree2332442b14834685b3a356e5e2024a13f214d4a5
parent52f9614dd8294e95d2c0929c2d4f64b077ae486f
Drivers: scsi: storvsc: Filter commands based on the storage protocol version

Going forward it is possible that some of the commands that are not currently
implemented will be implemented on future Windows hosts. Even if they are not
implemented, we are told the host will corrrectly handle unsupported
commands (by returning appropriate return code and sense information).
Make command filtering depend on the host version.

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