Skip to content

Commit

Permalink
[PATCH] libata: add missing finish_wait() call in ata_port_wait_eh()
Browse files Browse the repository at this point in the history
Add missing finish_wait() call after wait loop in ata_port_wait_eh().

Signed-off-by: Tejun Heo <htejun@gmail.com>
  • Loading branch information
Tejun Heo committed Jun 11, 2006
1 parent d87fa38 commit 0a1b622
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/scsi/libata-eh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 0a1b622

Please sign in to comment.