>> But S_BIAS is undefined. It is not declared anywhere in the aufs2 or
>> the kernel tree.
>
> It's just because your kernel is not vanilla. It is modified by CentOS.
> If you searched plain 2.6.32, you would find this in include/linux/fs.h.
>
> #define S_BIAS (1<<30)
>
> Ideally you should track all changes made by CentOS, consider how they
> affect aufs, decide how aufs re-act to them, and test/debug your
> solution.

Agreed. Stupid of me not to look at the vanilla kernel.

> If I were you, for this S_BIAS case only, I'd handle S_BIAS as zero.

I'll stick to 1<<30 for now and compile.

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

Reply via email to