]> git.baikalelectronics.ru Git - kernel.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)
commit3253324135bd24671e52f1ea5239ca2426f72448
tree94fb174047e12e60706f3930e5af601b6544d76c
parent0ed401d5810c194ab2372c4b4692dee6758c6236
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