Staging: hv: Add support for >2 TB LUN in storage driver.
authorMike Sterling <mike.sterling@microsoft.com>
Tue, 6 Sep 2011 23:10:55 +0000 (16:10 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Sep 2011 23:06:09 +0000 (16:06 -0700)
commitcf55f4a8b6243b42fb91c56d1421db0d36d60f96
tree619d9bec0a1d2ca309bf094cc18c3758ab9b11f1
parent15e3276fd020621236e8443a599b80ae28d6832b
Staging: hv: Add support for >2 TB LUN in storage driver.

If a LUN larger than 2 TB is attached to a Linux VM on Hyper-V, we currently
report a maximum size of 2 TB. This patch resolves the issue in hv_storvsc.
Thanks to Robert Scheck <robert.scheck@etes.de> for reporting the issue.

Reported-by: Robert Scheck <robert.scheck@etes.de>
Signed-off-by: Mike Sterling <mike.sterling@microsoft.com>
Signed-off-by: K.Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/storvsc_drv.c