[libata] Prevent warning during PMP error recovery
authorGwendal Grignou <gwendal@google.com>
Fri, 22 Jul 2011 20:48:32 +0000 (13:48 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 23 Jul 2011 22:05:14 +0000 (18:05 -0400)
commitd4d8eaff78b1b0043e7674bead7018e4db8b03ba
treeb1d2be499bd91d2a5e3bd60d6c78318c51319e4b
parent2cab7a4c5ccf96e0954e767af490ba9aee2c9b6f
[libata] Prevent warning during PMP error recovery

Cleanup sff_pio_task_link when a command is cancel while the
pio_task thread has been scheduled.

Signed-off-by: Gwendal Grignou <gwendal@google.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/ata/libata-sff.c