[Ocfs2-commits] khackel commits r2139 - trunk/fs/ocfs2/dlm

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Apr 12 17:20:25 CDT 2005


Author: khackel
Signed-off-by: zab
Date: 2005-04-12 17:20:23 -0500 (Tue, 12 Apr 2005)
New Revision: 2139

Modified:
   trunk/fs/ocfs2/dlm/dlmrecovery.c
Log:
* make recovery stop trying to talk to itself (though it was charming)

Signed-off-by: zab



Modified: trunk/fs/ocfs2/dlm/dlmrecovery.c
===================================================================
--- trunk/fs/ocfs2/dlm/dlmrecovery.c	2005-04-12 21:08:05 UTC (rev 2138)
+++ trunk/fs/ocfs2/dlm/dlmrecovery.c	2005-04-12 22:20:23 UTC (rev 2139)
@@ -1798,6 +1798,8 @@
 	dlm_finalize_reco_to_net(&fr);
 
 	while ((nodenum = dlm_node_iter_next(&iter)) >= 0) {
+		if (nodenum == dlm->node_num)
+			continue;
 		ret = net_send_message(DLM_FINALIZE_RECO_MSG, dlm->key, 
 				  	&fr, sizeof(fr), 
 				  	nodenum, &status);



More information about the Ocfs2-commits mailing list