"Sandino Flores Moreno":
> ... on linux 2.6.21.1, I got this error:

Sorry, I may be confused 2.6.21 with 2.6.22.
Please try this patch. If it succeeds, I will update CVS.

Junjiro Okajima

----------------------------------------------------------------------

Index: fs/aufs/opts.h
===================================================================
RCS file: /cvsroot/aufs/aufs/fs/aufs/opts.h,v
retrieving revision 1.12
diff -u -p -r1.12 opts.h
--- fs/aufs/opts.h      14 May 2007 03:40:27 -0000      1.12
+++ fs/aufs/opts.h      14 May 2007 06:12:52 -0000
@@ -28,7 +28,7 @@
 #include <linux/version.h>
 #include <linux/aufs_type.h>
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,21)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
 typedef const char* au_parser_pattern_t;
 #else
 typedef char* au_parser_pattern_t;
Index: fs/aufs/sysaufs.h
===================================================================
RCS file: /cvsroot/aufs/aufs/fs/aufs/sysaufs.h,v
retrieving revision 1.2
diff -u -p -r1.2 sysaufs.h
--- fs/aufs/sysaufs.h   14 May 2007 03:40:13 -0000      1.2
+++ fs/aufs/sysaufs.h   14 May 2007 06:12:52 -0000
@@ -27,7 +27,7 @@
 #include <linux/sysfs.h>
 #include <linux/version.h>
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,21)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
 typedef struct kset au_subsys_t;
 #define au_subsys_to_kset(subsys) (subsys)
 #else

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

Reply via email to