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

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Oct 22 16:58:05 CDT 2004


Author: manish
Date: 2004-10-22 16:58:03 -0500 (Fri, 22 Oct 2004)
New Revision: 1590

Modified:
   trunk/src/extent_map.c
Log:
rb_last showed up in 2.6.9


Modified: trunk/src/extent_map.c
===================================================================
--- trunk/src/extent_map.c	2004-10-22 21:53:44 UTC (rev 1589)
+++ trunk/src/extent_map.c	2004-10-22 21:58:03 UTC (rev 1590)
@@ -773,9 +773,7 @@
 	return 0;
 }
 
-/*
- * Not in mainline at all
- */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,9)
 static struct rb_node *rb_last(struct rb_root *root)
 {
 	struct rb_node	*n;
@@ -793,6 +791,7 @@
 		n = n->rb_right;
 	return n;
 }
+#endif
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
 static struct rb_node *rb_prev(struct rb_node *node)



More information about the Ocfs2-commits mailing list