From: Tejun Heo Date: Sat, 15 May 2010 18:09:33 +0000 (+0200) Subject: libata: use the enlarged capacity after late HPA unlock X-Git-Tag: v2.6.35-rc2~42^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68939ce5fc17ee9c03ef6e543d4f82bd9f5583d4;p=pandora-kernel.git libata: use the enlarged capacity after late HPA unlock After late HPA unlock, libata kept using the original capacity ignoring the new larger native capacity. Enlarging device on the fly doesn't cause any harm. Use the larger native capacity instead. This will enable on-demand HPA unlocking. Signed-off-by: Tejun Heo Cc: Ben Hutchings Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed