aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-05-15 20:09:33 +0200
committerJeff Garzik <jgarzik@redhat.com>2010-06-02 13:50:07 -0400
commit68939ce5fc17ee9c03ef6e543d4f82bd9f5583d4 (patch)
tree7f1e0d98c7c6fe102393d80f07efca6ada8c3fde /include/linux/libata.h
parentSCSI: implement sd_unlock_native_capacity() (diff)
downloadlinux-dev-68939ce5fc17ee9c03ef6e543d4f82bd9f5583d4.tar.xz
linux-dev-68939ce5fc17ee9c03ef6e543d4f82bd9f5583d4.zip
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 <tj@kernel.org> Cc: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include/linux/libata.h')
0 files changed, 0 insertions, 0 deletions