Commit 0a1b622e authored by Tejun Heo's avatar Tejun Heo

[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: default avatarTejun Heo <htejun@gmail.com>
parent d87fa38e
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment