aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-06-10 22:01:38 -0400
committerTejun Heo <htejun@gmail.com>2006-06-10 22:01:38 -0400
commit0a1b622ef495d8ebba9ad8982414c6661c16b604 (patch)
treef5aeae33e8e0347635a9e309c46f90387156c42a /drivers
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')
-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 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)
334 schedule(); 334 schedule();
335 spin_lock_irqsave(&ap->host_set->lock, flags); 335 spin_lock_irqsave(&ap->host_set->lock, flags);
336 } 336 }
337 finish_wait(&ap->eh_wait_q, &wait);
337 338
338 spin_unlock_irqrestore(&ap->host_set->lock, flags); 339 spin_unlock_irqrestore(&ap->host_set->lock, flags);
339 340