[DLM] schedule during long loop through locks

The loop through all waiting locks in recover_waiters can potentially be
long, so we should schedule explicitly.

Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c
index eaad28e..7d38f91 100644
--- a/fs/dlm/lock.c
+++ b/fs/dlm/lock.c
@@ -3193,6 +3193,7 @@
 			log_error(ls, "invalid lkb wait_type %d",
 				  lkb->lkb_wait_type);
 		}
+		schedule();
 	}
 	mutex_unlock(&ls->ls_waiters_mutex);
 }