[Ocfs2-tools-commits] zab commits r768 - trunk/libo2cb

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Mar 30 11:44:54 CST 2005


Author: zab
Signed-off-by: mfasheh
Date: 2005-03-30 11:44:51 -0600 (Wed, 30 Mar 2005)
New Revision: 768

Modified:
   trunk/libo2cb/o2cb_abi.c
Log:
o change the order we write node attributes in.  num and local depend on
  port and addr being set and a future ocfs2 commit will enforce this.

Signed-off-by: mfasheh


Modified: trunk/libo2cb/o2cb_abi.c
===================================================================
--- trunk/libo2cb/o2cb_abi.c	2005-03-29 23:09:58 UTC (rev 767)
+++ trunk/libo2cb/o2cb_abi.c	2005-03-30 17:44:51 UTC (rev 768)
@@ -296,17 +296,17 @@
 	}
 
 	err = o2cb_set_node_attribute(cluster_name, node_name,
-				      "num", node_num);
+				      "ipv4_port", ip_port);
 	if (err)
 		goto out_rmdir;
 
 	err = o2cb_set_node_attribute(cluster_name, node_name,
-				      "ipv4_port", ip_port);
+				      "ipv4_address", ip_address);
 	if (err)
 		goto out_rmdir;
 
 	err = o2cb_set_node_attribute(cluster_name, node_name,
-				      "ipv4_address", ip_address);
+				      "num", node_num);
 	if (err)
 		goto out_rmdir;
 



More information about the Ocfs2-tools-commits mailing list