[Ocfs2-commits] manish commits r1022 - branches/format-changes/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon Jun 7 13:46:11 CDT 2004


Author: manish
Date: 2004-06-07 12:46:09 -0500 (Mon, 07 Jun 2004)
New Revision: 1022

Modified:
   branches/format-changes/src/hash.h
Log:
teeny bit of macro safety


Modified: branches/format-changes/src/hash.h
===================================================================
--- branches/format-changes/src/hash.h	2004-06-07 17:41:41 UTC (rev 1021)
+++ branches/format-changes/src/hash.h	2004-06-07 17:46:09 UTC (rev 1022)
@@ -39,7 +39,8 @@
 
 #ifdef BH_SEM_DEBUG
 #define ocfs_bh_sem_lock_modify(bh) \
-	__ocfs_bh_sem_lock_modify(bh, __FUNCTION__, __FILE__, __LINE__)
+	__ocfs_bh_sem_lock_modify((bh), __FUNCTION__, __FILE__, __LINE__)
+
 int __ocfs_bh_sem_lock_modify(struct buffer_head *bh, const char *func,
 			      const char *file, int line);
 #else



More information about the Ocfs2-commits mailing list