From: Sunil Mushran Date: Tue, 17 Apr 2007 20:32:20 +0000 (-0700) Subject: ocfs2_dlm: Call cond_resched_lock() once per hash bucket scan X-Git-Tag: v2.6.22-rc1~1124^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d01af6e5dd6bc7abbcb6331021f8fee18005540;p=pandora-kernel.git ocfs2_dlm: Call cond_resched_lock() once per hash bucket scan In dlm_migrate_all_locks(), we currently call cond_resched_lock() after processing each lockres in a hash bucket. Move it outside the loop so as to call it only after the entire hash bucket has been processed. Signed-off-by: Sunil Mushran Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed