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

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: default avatarTejun Heo <htejun@gmail.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 914616a3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment