mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 13:46:24 +00:00
[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:
parent
d87fa38e70
commit
0a1b622ef4
1 changed files with 1 additions and 0 deletions
|
@ -334,6 +334,7 @@ void ata_port_wait_eh(struct ata_port *ap)
|
||||||
schedule();
|
schedule();
|
||||||
spin_lock_irqsave(&ap->host_set->lock, flags);
|
spin_lock_irqsave(&ap->host_set->lock, flags);
|
||||||
}
|
}
|
||||||
|
finish_wait(&ap->eh_wait_q, &wait);
|
||||||
|
|
||||||
spin_unlock_irqrestore(&ap->host_set->lock, flags);
|
spin_unlock_irqrestore(&ap->host_set->lock, flags);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue