]> err.no Git - linux-2.6/commit
libata: call ata_check_atapi_dma() with qc better prepared
authorTejun Heo <htejun@gmail.com>
Tue, 26 Jun 2007 17:47:35 +0000 (02:47 +0900)
committerJeff Garzik <jeff@garzik.org>
Wed, 27 Jun 2007 06:50:08 +0000 (02:50 -0400)
commite00f1ff3c8977eff07d0214d2f3478ac947bda0f
tree1209cd341d4be66b319d2779ffb91d0b5988e42f
parent914616a3c2a54504f3b0eda0b67fcd32226b3e83
libata: call ata_check_atapi_dma() with qc better prepared

In atapi_xlat(), prepare qc better before calling
ata_check_atapi_dma() such that ata_check_atapi_dma() can use info
from qc.  While at it, reformat weird looking if/else block in the
function.

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