• T
    libata: factor out ata_eh_schedule_probe() · 02c05a27
    Tejun Heo 提交于
    Factor out ata_eh_schedule_probe() from ata_eh_handle_dev_fail() and
    ata_eh_recover().  This is to improve maintainability and make future
    changes easier.
    
    In the previous revision, ata_dev_enabled() test was accidentally
    dropped while factoring out.  This problem was spotted by Bartlomiej.
    Signed-off-by: NTejun Heo <htejun@gmail.com>
    Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    Signed-off-by: NJeff Garzik <jeff@garzik.org>
    02c05a27
libata-eh.c 69.4 KB