Skip to content
Commit 90738683 authored by Tejun Heo's avatar Tejun Heo Committed by Jeff Garzik
Browse files

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: default avatarTejun Heo <htejun@gmail.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 94ff3d54
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment