]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/scsi/storvsc_drv.c
storvsc: fix a bug in storvsc limits
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 16 Dec 2014 21:21:44 +0000 (13:21 -0800)
committerChristoph Hellwig <hch@lst.de>
Fri, 9 Jan 2015 14:44:26 +0000 (15:44 +0100)
commit0fb8db29f2a02e8451e4e56d364c706f70a9ef00
treee45b5ba11d04541d3bc7731e61b8961c3182556e
parent34a716bc345ba06c34aa33d09536fcb607523818
storvsc: fix a bug in storvsc limits

Commit 4cd83ecdac20d30725b4f96e5d7814a1e290bc7e changed the limits to
reflect the values on the host. It turns out that WS2008R2 cannot
correctly handle these new limits. Fix this bug by setting the limits
based on the host.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Long Li <longli@microsoft.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/storvsc_drv.c