storvsc: Untangle the storage protocol negotiation from the vmbus protocol negotiation.
authorKeith Mange <keith.mange@microsoft.com>
Thu, 13 Aug 2015 15:43:48 +0000 (08:43 -0700)
committerJames Bottomley <JBottomley@Odin.com>
Thu, 27 Aug 2015 05:41:34 +0000 (22:41 -0700)
commit1a3631081d88180f5cc421711e40b4aecff8618e
tree5cef99bcdf74fed5fbfb7a06e5a1d1f80d558b9a
parent2492fd7a60270b81b7ed491745fd595a26841a45
storvsc: Untangle the storage protocol negotiation from the vmbus protocol negotiation.

Currently we are making decisions based on vmbus protocol versions
that have been negotiated; use storage potocol versions instead.

[jejb: fold ARRAY_SIZE conversion suggested by Johannes Thumshirn
<jthumshirn@suse.de>
make vmstor_protocol static]
Tested-by: Alex Ng <alexng@microsoft.com>
Signed-off-by: Keith Mange <keith.mange@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/storvsc_drv.c