]> err.no Git - linux-2.6/commit
libata: wrap schedule_timeout_uninterruptible() in loop
authorTejun Heo <htejun@gmail.com>
Tue, 9 Oct 2007 05:58:33 +0000 (14:58 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:46 +0000 (14:55 -0400)
commit9073868376ed5fa1f247327ccb2e6f766d5b7eed
treead79d7da02173e99c300988dfefbdf8fc1081088
parent94ff3d54080975686a3c41e73b8926030ee0c31f
libata: wrap schedule_timeout_uninterruptible() in loop

Tasks in uninterruptible sleep might be woken up by unrelated events
and should check whether the condition it was waiting for has actually
triggered.  Wrap schedule_timeout_uninterruptible() in loop to achieve
it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-eh.c