Skip to content
Commit 72ec24bd authored by Tejun Heo's avatar Tejun Heo Committed by Jeff Garzik
Browse files

SCSI: implement sd_unlock_native_capacity()



Implement sd_unlock_native_capacity() method which calls into
hostt->unlock_native_capacity() if implemented.  This will be invoked
by block layer if partitions extend beyond the end of the device and
can be used to implement, for example, on-demand ATA host protected
area unlocking.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent ed4e2f80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment