aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ocfs2/dlm/dlmmaster.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c
index 376283e98c16..0b7e29e916ed 100644
--- a/fs/ocfs2/dlm/dlmmaster.c
+++ b/fs/ocfs2/dlm/dlmmaster.c
@@ -1710,6 +1710,23 @@ int dlm_assert_master_handler(struct o2net_msg *msg, u32 len, void *data)
1710 assert->node_idx); 1710 assert->node_idx);
1711 } 1711 }
1712 } 1712 }
1713 if (mle->type == DLM_MLE_MIGRATION) {
1714 if (flags & DLM_ASSERT_MASTER_MLE_CLEANUP) {
1715 mlog(0, "%s:%.*s: got cleanup assert"
1716 " from %u for migration\n",
1717 dlm->name, namelen, name,
1718 assert->node_idx);
1719 } else if (!(flags & DLM_ASSERT_MASTER_FINISH_MIGRATION)) {
1720 mlog(0, "%s:%.*s: got unrelated assert"
1721 " from %u for migration, ignoring\n",
1722 dlm->name, namelen, name,
1723 assert->node_idx);
1724 __dlm_put_mle(mle);
1725 spin_unlock(&dlm->master_lock);
1726 spin_unlock(&dlm->spinlock);
1727 goto done;
1728 }
1729 }
1713 } 1730 }
1714 spin_unlock(&dlm->master_lock); 1731 spin_unlock(&dlm->master_lock);
1715 1732