[Ocfs2-commits] manish commits r2215 - in trunk: . kapi-compat/include

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue May 3 20:22:45 CDT 2005


Author: manish
Signed-off-by: mfasheh
Date: 2005-05-03 20:22:43 -0500 (Tue, 03 May 2005)
New Revision: 2215

Removed:
   trunk/kapi-compat/include/rb_last.h
Modified:
   trunk/Makefile
Log:
SLES9 has rb_last now, no need for compat header

Signed-off-by: mfasheh


Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2005-05-04 00:41:39 UTC (rev 2214)
+++ trunk/Makefile	2005-05-04 01:22:43 UTC (rev 2215)
@@ -10,8 +10,7 @@
 	kapi-compat/include/assert_spin_locked.h		\
 	kapi-compat/include/journal_access.h			\
 	kapi-compat/include/kref_init.h				\
-	kapi-compat/include/kref_put.h				\
-	kapi-compat/include/rb_last.h
+	kapi-compat/include/kref_put.h
 
 DIST_FILES = \
 	AUTHORS		\

Deleted: trunk/kapi-compat/include/rb_last.h
===================================================================
--- trunk/kapi-compat/include/rb_last.h	2005-05-04 00:41:39 UTC (rev 2214)
+++ trunk/kapi-compat/include/rb_last.h	2005-05-04 01:22:43 UTC (rev 2215)
@@ -1,18 +0,0 @@
-#ifndef KAPI_RB_LAST_H
-#define KAPI_RB_LAST_H
-
-#include <linux/rbtree.h>
-
-static inline struct rb_node *rb_last(struct rb_root *root)
-{
-	struct rb_node  *n;
-
-	n = root->rb_node;
-	if (!n)
-		return NULL;
-	while (n->rb_right)
-		n = n->rb_right;
-	return n;
-}
-
-#endif



More information about the Ocfs2-commits mailing list