Found this when do patch review, remove to make it clear and save
a little cpu time.

Signed-off-by: Junxiao Bi <junxiao...@oracle.com>
---
 fs/ocfs2/dlm/dlmrecovery.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/fs/ocfs2/dlm/dlmrecovery.c b/fs/ocfs2/dlm/dlmrecovery.c
index 9e4f862d20fe..42cac5f01a96 100644
--- a/fs/ocfs2/dlm/dlmrecovery.c
+++ b/fs/ocfs2/dlm/dlmrecovery.c
@@ -2450,11 +2450,7 @@ static void __dlm_hb_node_down(struct dlm_ctxt *dlm, int 
idx)
         * perhaps later we can genericize this for other waiters. */
        wake_up(&dlm->migration_wq);
 
-       if (test_bit(idx, dlm->recovery_map))
-               mlog(0, "domain %s, node %u already added "
-                    "to recovery map!\n", dlm->name, idx);
-       else
-               set_bit(idx, dlm->recovery_map);
+       set_bit(idx, dlm->recovery_map);
 }
 
 void dlm_hb_node_down_cb(struct o2nm_node *node, int idx, void *data)
-- 
1.7.9.5


_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel

Reply via email to