From: Tejun Heo Date: Sun, 11 Jun 2006 02:01:38 +0000 (+0900) Subject: [PATCH] libata: add missing finish_wait() call in ata_port_wait_eh() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0a1b622ef495d8ebba9ad8982414c6661c16b604;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.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 --- diff --git a/drivers/scsi/libata-eh.c b/drivers/scsi/libata-eh.c index d4b80b64342c..6285257a890d 100644 --- a/drivers/scsi/libata-eh.c +++ b/drivers/scsi/libata-eh.c @@ -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);