• T
    libata-eh: fix slave link EH action mask handling · a568d1d2
    Tejun Heo 提交于
    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: NTejun Heo <tj@kernel.org>
    Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
    a568d1d2
libata-eh.c 85.9 KB