From: Wengang Wang Date: Wed, 14 Jul 2010 14:38:21 +0000 (+0800) Subject: ocfs2/dlm: Remove BUG_ON from migration in the rare case of a down node X-Git-Tag: v2.6.35-rc6~34^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a39953dd95ff10e311083d94f4f95c348cb22464;p=pandora-kernel.git ocfs2/dlm: Remove BUG_ON from migration in the rare case of a down node For migration, we are waiting for DLM_LOCK_RES_MIGRATING flag to be set before sending DLM_MIG_LOCKRES_MSG message to the target. We are using dlm_migration_can_proceed() for that purpose. However, if the node is down, dlm_migration_can_proceed() will also return "go ahead". In this rare case, the DLM_LOCK_RES_MIGRATING flag might not be set yet. Remove the BUG_ON() that trips over this condition. Signed-off-by: Wengang Wang Signed-off-by: Joel Becker --- Reading git-diff-tree failed