From: Sunil Mushran Date: Fri, 23 Mar 2007 00:08:32 +0000 (-0700) Subject: ocfs2_dlm: Check for migrateable lockres in dlm_empty_lockres() X-Git-Tag: v2.6.21-rc6~72^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f5bf1f2d061dea5146aa283685ce2b00cea2f3d;p=pandora-kernel.git ocfs2_dlm: Check for migrateable lockres in dlm_empty_lockres() In dlm_migrate_lockres(), we check upfront whether the lockres is a candidate for migration. This patch encapsulates that code in a separate function so that dlm_empty_lockres() can also use it during umount. This patch addresses the umount process spinning problem. Signed-off-by: Sunil Mushran Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed