libata: implement ata_qc_raw_nbytes()
authorTejun Heo <htejun@gmail.com>
Tue, 18 Mar 2008 08:47:43 +0000 (17:47 +0900)
committerJeff Garzik <jeff@garzik.org>
Tue, 25 Mar 2008 02:09:12 +0000 (22:09 -0400)
commitaacda37538e7f9cf2148eedf3766239829e51ba4
tree0206d2db8ce636aadabf8e3effd1ee3114ccff2a
parentcc7feea39bed2951cc29af3ad642f39a99dfe8d3
libata: implement ata_qc_raw_nbytes()

Implement ata_qc_raw_nbytes() which determines the raw user-requested
size of a PC command.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-scsi.c
include/linux/libata.h