]> git.karo-electronics.de Git - linux-beck.git/commit
libata: factor out ata_eh_schedule_probe()
authorTejun Heo <htejun@gmail.com>
Tue, 27 Nov 2007 10:28:54 +0000 (19:28 +0900)
committerJeff Garzik <jeff@garzik.org>
Wed, 23 Jan 2008 10:24:10 +0000 (05:24 -0500)
commit02c05a27e884c9655dae5b1c8bc0cd89c060c43d
tree94fb174047e12e60706f3930e5af601b6544d76c
parent405e66b38797875e80669eaf72d313dbb76533c3
libata: factor out ata_eh_schedule_probe()

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: Tejun Heo <htejun@gmail.com>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-eh.c