[PATCH 3/8] libata: factor out ata_eh_schedule_probe()

2007-11-27 Thread 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

Re: [PATCH 3/8] libata: factor out ata_eh_schedule_probe()

2007-11-05 Thread Tejun Heo
Bartlomiej Zolnierkiewicz wrote: >> -if (!ata_dev_enabled(dev) && >> -((ehc->i.probe_mask & (1 << dev->devno)) && >> - !(ehc->did_probe_mask & (1 << dev->devno { >> -ata_eh_detach_dev(dev); >> -

Re: [PATCH 3/8] libata: factor out ata_eh_schedule_probe()

2007-11-05 Thread Bartlomiej Zolnierkiewicz
Hi, On Monday 05 November 2007, Tejun Heo wrote: > 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. > > Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> > --- > drivers/ata/libata-eh.c |

[PATCH 3/8] libata: factor out ata_eh_schedule_probe()

2007-11-04 Thread 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. Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> --- drivers/ata/libata-eh.c | 37 - 1 files changed, 20 ins

[PATCH 3/8] libata: factor out ata_eh_schedule_probe()

2007-11-01 Thread 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. Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> --- drivers/ata/libata-eh.c | 37 - 1 files changed, 20 ins