Hello Shao,

Shao Miller:
> I obtained the source for CentOS 7's Linux kernel 
> 3.10.0-123.6.3.el7.x86_64, by following this[1] decent guide.  Using the 
> aufs3-standalone git, I checked out branch *aufs3.10*. I then followed 
        :::
> > **In file included from fs/aufs/aufs.h:54:0,**
> > **                 from fs/aufs/module.c:24:**
> > **fs/aufs/vfsub.h:75:18: error: 'I_MUTEX_QUOTA' undeclared here (not 
> > in a function)**
> > **  AuLsc_I_Begin = I_MUTEX_QUOTA, /* 4 */**
> > **                  ^**

As you might know, aufs releases are supporting the mainline kernel,
which means aufs3.10 is for vanilla linux-3.10.0.
Your CentOS kernel is not vanilla linux-3.10.0 and it seems to be "rhel
kernel plus centos patches."
Here "rhel kernel" is
- vanilla linux-3.10.0
- patches from mainline and linux-stable releases after 3.10, which
  redhat people chose
- probably patches redhat people originally developed

For example, I_MUTEX_QUOTA was replaced by I_MUTEX_NONDIR2 in
linux-3.13, and redhat people adopted this change into their kernel.
It means you need aufs3.13 for this change. But it is not guranteed
aufs3.13 will surely work for your rhel kernel until you make it clear
the differences between rhel kernel and linux-3.13.

Do I make myself clear?


J. R. Okajima

------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk

Reply via email to