mirror of https://gitee.com/openkylin/linux.git
[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
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue