ocfs2: use cond_resched() in dlm_thread()

yield() does not yield.  cond_resched() does.

Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
This commit is contained in:
Kurt Hackel 2006-05-01 14:27:41 -07:00 committed by Mark Fasheh
parent ad8100e0d2
commit f85cd47a58
1 changed files with 1 additions and 1 deletions

View File

@ -731,7 +731,7 @@ in_progress:
/* yield and continue right away if there is more work to do */
if (!n) {
yield();
cond_resched();
continue;
}