[Ocfs2-commits] manish commits r2156 - trunk/fs/ocfs2/cluster

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Apr 20 15:43:40 CDT 2005


Author: manish
Signed-off-by: zab
Date: 2005-04-20 15:43:37 -0500 (Wed, 20 Apr 2005)
New Revision: 2156

Modified:
   trunk/fs/ocfs2/cluster/masklog.h
Log:
Fix mlog macros for the 64-bit case

Signed-off-by: zab


Modified: trunk/fs/ocfs2/cluster/masklog.h
===================================================================
--- trunk/fs/ocfs2/cluster/masklog.h	2005-04-20 18:31:33 UTC (rev 2155)
+++ trunk/fs/ocfs2/cluster/masklog.h	2005-04-20 20:43:37 UTC (rev 2156)
@@ -121,13 +121,13 @@
 #else /* 32bit long above, 64bit long below */
 
 #define __mlog_test_u64(mask, bits)	((mask) & bits.words[0])
-#define __mlog_set_u64(mask, bits) do {	\
-	bits.words[0] |= (mask);
+#define __mlog_set_u64(mask, bits) do {		\
+	bits.words[0] |= (mask);		\
 } while (0)
 #define __mlog_clear_u64(mask, bits) do {	\
-	bits.words[0] &= ~(mask);
+	bits.words[0] &= ~(mask);		\
 } while (0)
-#define MLOG_BITS_RHS(mask) mask
+#define MLOG_BITS_RHS(mask) { { (mask) } }
 
 #endif
 



More information about the Ocfs2-commits mailing list