[PATCH] libata: add missing finish_wait() call in ata_port_wait_eh()

Add missing finish_wait() call after wait loop in ata_port_wait_eh().

Signed-off-by: Tejun Heo <htejun@gmail.com>
This commit is contained in:
Tejun Heo 2006-06-11 11:01:38 +09:00
parent d87fa38e70
commit 0a1b622ef4
1 changed files with 1 additions and 0 deletions

View File

@ -334,6 +334,7 @@ void ata_port_wait_eh(struct ata_port *ap)
schedule();
spin_lock_irqsave(&ap->host_set->lock, flags);
}
finish_wait(&ap->eh_wait_q, &wait);
spin_unlock_irqrestore(&ap->host_set->lock, flags);