aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-06-11 11:01:38 +0900
committerTejun Heo <htejun@gmail.com>2006-06-11 11:01:38 +0900
commit0a1b622ef495d8ebba9ad8982414c6661c16b604 (patch)
treef5aeae33e8e0347635a9e309c46f90387156c42a /drivers/scsi
parentd87fa38e70853a9607dc34a02d15cf5f149f49f2 (diff)
[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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/libata-eh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/libata-eh.c b/drivers/scsi/libata-eh.c
index d4b80b64342..6285257a890 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);