[Ocfs2-commits] manish commits r936 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon May 24 22:14:55 CDT 2004


Author: manish
Date: 2004-05-24 21:14:54 -0500 (Mon, 24 May 2004)
New Revision: 936

Modified:
   trunk/src/journal.c
Log:
2.6 compatible journal_get_undo_access call


Modified: trunk/src/journal.c
===================================================================
--- trunk/src/journal.c	2004-05-25 02:14:34 UTC (rev 935)
+++ trunk/src/journal.c	2004-05-25 02:14:54 UTC (rev 936)
@@ -702,7 +702,11 @@
 		break;
 
 	case OCFS_JOURNAL_ACCESS_UNDO:
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
+		status = journal_get_undo_access(handle->k_handle, bh, NULL);
+#else
 		status = journal_get_undo_access(handle->k_handle, bh);
+#endif
 		break;
 
 	default:



More information about the Ocfs2-commits mailing list