Hello Oliver,

Oliver Welter:
> fs/aufs/cpup.c: In function 'au_cpup_attr_flags':
> fs/aufs/cpup.c:32:2: error: size of unnamed array is negative
        :::
> The source is made of:
> * latest HEAD of aufs3.4 branch (c1ecf4f)
> * merged with kernel archive linux-3.4.y (0c4f5371)
> * vserver patch from 
> http://www.linux-vserver.org/Welcome_to_Linux-VServer.org 
> (http://vserver.13thfloor.at/Experimental/patch-3.4.83-vs2.3.3.9.diff)

The vserver patch converts "unsigned int i_flags" to unsigned short, and
the line BUILD_BUG_ON(sizeof(iflags) != sizeof(dst->i_flags)) (which
carefully check the consistency between linux kernel and aufs source
files) detects it expectedly.

In order to support vserver, I am afraid you need to solve these
issues.
- convert a variable in aufs which corresponds to "unsigned int i_flags"
  into unsigned short.
- support the newly added flag vlaues, S_IXUNLINK, etc.
- support the newly added variable, i_vflags, i_mdev, etc.
- there may exist more issues.


J. R. Okajima

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech

Reply via email to