Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f85cd47a authored by Kurt Hackel's avatar Kurt Hackel Committed by Mark Fasheh
Browse files

ocfs2: use cond_resched() in dlm_thread()



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

Signed-off-by: default avatarKurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent ad8100e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -731,7 +731,7 @@ in_progress:

		/* yield and continue right away if there is more work to do */
		if (!n) {
			yield();
			cond_resched();
			continue;
		}