commit | 72ec24bd7725545bc149d80cbd21a7578d9aa206 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Sat May 15 20:09:32 2010 +0200 |
committer | Jeff Garzik <jgarzik@redhat.com> | Wed Jun 02 13:50:04 2010 -0400 |
tree | a67f8fdda3b0dd69bb45ca19508b68431f1b69d8 | |
parent | ed4e2f801cf1484a68c4b41878353f26e6554c6a [diff] |
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: Tejun Heo <tj@kernel.org> Cc: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>