diff options
author | Tejun Heo <tj@kernel.org> | 2010-12-09 15:59:32 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-12-24 13:34:18 -0500 |
commit | f08dc1ac6b15c681f4643d8da1700e06c3855608 (patch) | |
tree | 90d3a9d9e68edc07116be3f03795044a83c71c58 /drivers/ata/libata-eh.c | |
parent | 869934adfc8391ec2e198ed81260e1a42cd9c575 (diff) | |
download | op-kernel-dev-f08dc1ac6b15c681f4643d8da1700e06c3855608.zip op-kernel-dev-f08dc1ac6b15c681f4643d8da1700e06c3855608.tar.gz |
libata: no special completion processing for EH commands
ata_qc_complete() contains special handling for certain commands. For
example, it schedules EH for device revalidation after certain
configurations are changed. These shouldn't be applied to EH
commands but they were.
In most cases, it doesn't cause an actual problem because EH doesn't
issue any command which would trigger special handling; however, ACPI
can issue such commands via _GTF which can cause weird interactions.
Restructure ata_qc_complete() such that EH commands are always passed
on to __ata_qc_complete().
stable: Please apply to -stable only after 2.6.38 is released.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Kyle McMartin <kyle@mcmartin.ca>
Cc: stable@kernel.org
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata-eh.c')
0 files changed, 0 insertions, 0 deletions