[Ocfs2-commits] khackel commits r1761 - trunk/cluster

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Jan 12 17:02:00 CST 2005


Author: khackel
Date: 2005-01-12 17:01:58 -0600 (Wed, 12 Jan 2005)
New Revision: 1761

Modified:
   trunk/cluster/dlmmod.c
Log:
I knew something looked fishy with that math!

Modified: trunk/cluster/dlmmod.c
===================================================================
--- trunk/cluster/dlmmod.c	2005-01-12 22:36:51 UTC (rev 1760)
+++ trunk/cluster/dlmmod.c	2005-01-12 23:01:58 UTC (rev 1761)
@@ -102,7 +102,7 @@
 	tmpnode <<= 56;
 
 	spin_lock(&dlm_cookie_lock);
-	*cookie = (dlm_next_cookie & tmpnode);
+	*cookie = (dlm_next_cookie | tmpnode);
 	if (++dlm_next_cookie & 0xff00000000000000ull) {
 		dlmprintk0("eek! this node's cookie will now wrap!\n");
 		dlm_next_cookie = 1;



More information about the Ocfs2-commits mailing list