[Ocfs2-commits] mfasheh commits r1390 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Aug 26 21:16:55 CDT 2004


Author: mfasheh
Date: 2004-08-26 21:16:53 -0500 (Thu, 26 Aug 2004)
New Revision: 1390

Modified:
   trunk/src/ocfs_compat.h
Log:
* Commit some more 2.4 compatibility macros. We'll be using these in a
  future commit...



Modified: trunk/src/ocfs_compat.h
===================================================================
--- trunk/src/ocfs_compat.h	2004-08-26 21:30:54 UTC (rev 1389)
+++ trunk/src/ocfs_compat.h	2004-08-27 02:16:53 UTC (rev 1390)
@@ -57,6 +57,12 @@
 #define wait_on_page_locked(p) wait_on_page(p)
 #define PageUptodate(p)        Page_Uptodate(p)
 
+#define set_buffer_new(bh) (bh->b_state |= (1UL << BH_New))
+
+#ifdef OCFS_COMPAT_SAFE_WRITE
+#define generic_file_write_nolock do_generic_file_write
+#endif
+
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18)
 #define unlock_page(p)         UnlockPage(p)
 



More information about the Ocfs2-commits mailing list