> 10_ide_do_rw_disk_pre_task_out_intr_return_fix.patch > > In __ide_do_rw_disk(), ide_started used to be returned blindly > after issusing PIO write. This can cause hang if > pre_task_out_intr() returns ide_stopped due to failed > ide_wait_stat() test. Fixed to pass the return value of > pre_task_out_intr().
Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> Index: linux-ide-export/drivers/ide/ide-disk.c =================================================================== --- linux-ide-export.orig/drivers/ide/ide-disk.c 2005-02-02 10:28:03.898413061 +0900 +++ linux-ide-export/drivers/ide/ide-disk.c 2005-02-02 10:28:04.080383536 +0900 @@ -253,8 +253,7 @@ ide_startstop_t __ide_do_rw_disk (ide_dr /* FIXME: ->OUTBSYNC ? */ hwif->OUTB(command, IDE_COMMAND_REG); - pre_task_out_intr(drive, rq); - return ide_started; + return pre_task_out_intr(drive, rq); } } EXPORT_SYMBOL_GPL(__ide_do_rw_disk); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/