[DRBD-cvs] svn commit by lars - r2091 - trunk/drbd - named union ->
anonymous union in 2.6.16... lalala
drbd-cvs at lists.linbit.com
drbd-cvs at lists.linbit.com
Fri Mar 3 23:39:30 CET 2006
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: lars
Date: 2006-03-03 23:39:29 +0100 (Fri, 03 Mar 2006)
New Revision: 2091
Modified:
trunk/drbd/drbd_compat_wrappers.h
Log:
named union -> anonymous union in 2.6.16... lalala
Modified: trunk/drbd/drbd_compat_wrappers.h
===================================================================
--- trunk/drbd/drbd_compat_wrappers.h 2006-03-03 15:47:52 UTC (rev 2090)
+++ trunk/drbd/drbd_compat_wrappers.h 2006-03-03 22:39:29 UTC (rev 2091)
@@ -8,8 +8,9 @@
#endif
-/* struct page has a union since 2.6.15 ... */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15)
+/* struct page has a union in 2.6.15 ...
+ * an anonymous union and struct since 2.6.16 */
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15)) || LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
#define U_PRIVATE private
#else
#define U_PRIVATE u.private
More information about the drbd-cvs
mailing list