We compile aufs2 standalone using openvz kernel. Appling patches some alerts.
fs/aufs/super.c: In function 'au_statfs_sum': fs/aufs/super.c:316: warning: passing argument 1 of 'vfs_statfs' from incompatible pointer type include/linux/fs.h:1914: note: expected 'struct path *' but argument is of type 'struct dentry *' fs/aufs/super.c: In function 'aufs_statfs': fs/aufs/super.c:347: warning: passing argument 1 of 'vfs_statfs' from incompatible pointer type include/linux/fs.h:1914: note: expected 'struct path *' but argument is of type 'struct dentry *' CC [M] fs/aufs/branch.o fs/aufs/branch.c: In function 'au_wbr_init': fs/aufs/branch.c:320: warning: passing argument 1 of 'vfs_statfs' from incompatible pointer type include/linux/fs.h:1914: note: expected 'struct path *' but argument is of type 'struct dentry *' fs/aufs/branch.c: In function 'au_br_mod_files_ro': fs/aufs/branch.c:850: error: request for member 'next' in something not a structure or union fs/aufs/branch.c:850: warning: comparison of distinct pointer types lacks a cast make[3]: *** [fs/aufs/branch.o] Error 1 make[2]: *** [fs/aufs] Error 2 make[1]: *** [fs] Error 2 make[1]: Leaving directory `/root/linux-2.6.32.aufs' make: *** [debian/stamp/build/kernel] Error 2 ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d