]> git.baikalelectronics.ru Git - kernel.git/commit
libata-eh: fix slave link EH action mask handling
authorTejun Heo <tj@kernel.org>
Tue, 21 Oct 2008 11:37:21 +0000 (20:37 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 23 Oct 2008 00:40:21 +0000 (20:40 -0400)
commitdf4fa62bceb4926251d82607752d0a8e05fb4a1b
tree1eafb8cd7ba2326811a1f33dd785135efdcd8dbf
parent97fde64c7a4001bdf75fde19d3abeecd00fd6a58
libata-eh: fix slave link EH action mask handling

Slave link action mask is transferred to master link and all the EH
actions are taken by the master link.  ata_eh_about_to_do() and
ata_eh_done() are called with ATA_EH_ALL_ACTIONS to clear the slave
link actions during transfer.  This always sets ATA_PFLAG_RECOVERED
flag causing spurious "EH complete" messages.

Don't set ATA_PFLAG_RECOVERED for slave link actions.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-eh.c