• Tejun Heo's avatar
    libata: transfer EHI control flags to slave ehc.i · 848e4c68
    Tejun Heo authored
    ATA_EHI_NO_AUTOPSY and ATA_EHI_QUIET are used to control the behavior
    of EH.  As only the master link is visible outside EH, these flags are
    set only for the master link although they should also apply to the
    slave link, which causes spurious EH messages during probe and
    suspend/resume.
    
    This patch transfers those two flags to slave ehc.i before performing
    slave autopsy and reporting.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
    848e4c68
libata-eh.c 85.8 KB