commit | 9073868376ed5fa1f247327ccb2e6f766d5b7eed | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Tue Oct 09 14:58:33 2007 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Fri Oct 12 14:55:46 2007 -0400 |
tree | ad79d7da02173e99c300988dfefbdf8fc1081088 | |
parent | 94ff3d54080975686a3c41e73b8926030ee0c31f [diff] |
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>