aufs3.2 compiler error in dcsub.c
hello list, is there still support for aufs3.2 tree? we got an compiler error on vanilla kernel 3.2.66 in standalone tree and with successful kbuild-, base- and mmap-patch: In file included from include/linux/sched.h:55:0, from /usr/src/linux-3.2.66/include/linux/aufs_type.h:31, from :0: fs/aufs/dcsub.c: In function ‘au_dcsub_pages’: fs/aufs/dcsub.c:137:13: error: ‘union ’ has no member named ‘d_child’ d_u.d_child); ^ include/linux/kernel.h:674:29: note: in definition of macro ‘container_of’ const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ^ fs/aufs/dcsub.c:136:27: note: in expansion of macro ‘list_entry’ struct dentry *dentry = list_entry(tmp, struct dentry, ^ include/linux/kernel.h:674:48: warning: initialization from incompatible pointer type [enabled by default] const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ^ include/linux/list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member) ^ fs/aufs/dcsub.c:136:27: note: in expansion of macro ‘list_entry’ struct dentry *dentry = list_entry(tmp, struct dentry, ^ include/linux/kernel.h:674:48: warning: (near initialization for ‘dentry’) [enabled by default] const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ^ include/linux/list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member) ^ fs/aufs/dcsub.c:136:27: note: in expansion of macro ‘list_entry’ struct dentry *dentry = list_entry(tmp, struct dentry, ^ In file included from include/linux/compiler-gcc.h:105:0, from include/linux/compiler.h:48, from include/linux/stddef.h:4, from include/linux/posix_types.h:4, from include/linux/types.h:17, from include/linux/capability.h:16, from include/linux/sched.h:53, from /usr/src/linux-3.2.66/include/linux/aufs_type.h:31, from :0: include/linux/compiler-gcc4.h:14:34: error: ‘union ’ has no member named ‘d_child’ #define __compiler_offsetof(a,b) __builtin_offsetof(a,b) ^ include/linux/stddef.h:22:31:note:inexpansion of macro ‘__compiler_offsetof’ #define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER) ^ include/linux/kernel.h:675:29: note: in expansion of macro ‘offsetof’ (type *)( (char *)__mptr - offsetof(type,member) );}) ^ include/linux/list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member) ^ fs/aufs/dcsub.c:136:27: note: in expansion of macro ‘list_entry’ struct dentry *dentry = list_entry(tmp, struct dentry, ^ fs/aufs/dcsub.c:173:20: error: ‘union ’ has no member named ‘d_child’ next = child->d_u.d_child.next; ^ thanks for any help. best regards rene -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
Re: aufs3.2 compiler error in dcsub.c
Am 30.01.2015 um 12:52 schrieb sf...@users.sourceforge.net: Hello Zeipelt, zeipelt: is there still support for aufs3.2 tree? we got an compiler error on vanilla kernel 3.2.66 in standalone tree and with successful kbuild-,=20 base- and mmap-patch: In file included from include/linux/sched.h:55:0, from /usr/src/linux-3.2.66/include/linux/aufs_type.h:31= , from :0: fs/aufs/dcsub.c: In function =E2=80=98au_dcsub_pages=E2=80=99: fs/aufs/dcsub.c:137:13: error: =E2=80=98union =E2=80=99 has no= member named=20 =E2=80=98d_child=E2=80=99 d_u.d_child); I guess you need to apply this single commit manually. 30d345d 2014-12-30 aufs: for linux-3.19, d_alias and d_child In other words, - linux mainline adds a change for linux-3.19. - that change is backported into linux-3.2.66. And - aufs3.2 is not supported now, it stopped since Nov 2013. - aufs3.19 will be released soon and it conitans a change to follow the change made in mainline. - you can pick it up from aufs3-linux.git or aufs3-standalone.git by "git-cherry-pick" or various git-command, or even via web interface. Searching in this ML archive will be helpful too. J. R. Okajima hello j. r., is this the way: i wait for aufs3.19 and change my aufs3.2 with the cherry-pick 30d345d commit? thanks again, best regards rene smime.p7s Description: S/MIME Cryptographic Signature -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
Re: aufs3.2 compiler error in dcsub.c
thanks a lot guys - i see this really coming up on 3.2.66 so 3.2.65 runs with aufs3.2. best regards rene ps. again, you make a great job over the years! Am 30.01.2015 um 14:09 schrieb ph...@manjaro.org: Hi Rene, I'll write you a patch when I'm back home. kind regards Philip Müller -- Manjaro Lead Am 2015-01-30 13:52, schrieb sf...@users.sourceforge.net: Rene Zeipelt: is this the way: i wait for aufs3.19 and change my aufs3.2 with the=20 cherry-pick 30d345d commit? You don't have to wait because the commit is included in aufs3.x-rcN branch and you can get it. J. R. Okajima -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ smime.p7s Description: S/MIME Cryptographic Signature -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
no nfs branch in 2.6.24.4?
hello, i have a running aufs 20080317 over nfs on 2.6.24.3 as buildin (no mod) for a diskless system. since i have compiled a new 2.6.24.4 with lhash-2.6.24.4-patch i got the error: NFS branch is not supported, try some ... i use the kernel-config only with lhash-option (like 2.6.24.3): CONFIG_AUFS=y # CONFIG_AUFS_FAKE_DM is not set # CONFIG_AUFS_BRANCH_MAX_127 is not set # CONFIG_AUFS_BRANCH_MAX_511 is not set # CONFIG_AUFS_BRANCH_MAX_1023 is not set CONFIG_AUFS_BRANCH_MAX_32767=y # CONFIG_AUFS_SYSAUFS is not set # CONFIG_AUFS_HINOTIFY is not set # EXPORTFS and AUFS_EXPORT are disabled # CONFIG_AUFS_ROBR is not set # CONFIG_AUFS_DLGT is not set # CONFIG_AUFS_SHWH is not set # CONFIG_AUFS_RR_SQUASHFS is not set # SECURITY and AUFS_SEC_PERM_PATCH are disabled # CONFIG_AUFS_SPLICE_PATCH is not set CONFIG_AUFS_LHASH_PATCH=y # CONFIG_AUFS_BR_NFS is not set # CONFIG_AUFS_DEBUG is not set # CONFIG_AUFS_COMPAT is not set what is my mistake? thanks. -- smime.p7s Description: S/MIME Cryptographic Signature - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone