[DRBD-cvs] drbd by phil; En Chiang Lee's RH9 patch.

drbd-user@lists.linbit.com drbd-user@lists.linbit.com
Tue, 10 Feb 2004 15:31:31 +0100 (CET)


DRBD CVS committal

Author  : phil
Module  : drbd

Dir     : drbd/drbd


Modified Files:
      Tag: rel-0_7-branch
	hlist.h 


Log Message:
En Chiang Lee's RH9 patch.

===================================================================
RCS file: /var/lib/cvs/drbd/drbd/drbd/Attic/hlist.h,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -3 -r1.1.2.2 -r1.1.2.3
--- hlist.h	15 Dec 2003 23:11:56 -0000	1.1.2.2
+++ hlist.h	10 Feb 2004 14:31:26 -0000	1.1.2.3
@@ -2,6 +2,19 @@
 #ifndef HLIST_H
 #define HLIST_H
 
+#ifdef REDHAT_HLIST_BACKPORT
+#undef hlist_node
+#undef hlist_head
+#undef HLIST_HEAD
+#undef INIT_HLIST_HEAD
+#undef hlist_empty
+#undef hlist_del_init
+#undef hlist_entry
+#undef hlist_add_head
+#undef hlist_for_each
+#undef hlist_for_each_safe
+#endif
+
 // from linux-2.6.x linux/list.h
 // I copied only the part which actually is used in lru_cache.h