"Stefan Lippers-Hollmann":
> It is detected, just that it doesn't actually error out until the 
> linking stage.
        :::
> Before 3.2-rcX, EXPORT_SYMBOL/ EXPORT_SYMBOL_GPL was defined by 
> module.h (and by chance the other files for which 
> aufs3-standalone.patch adds EXPORT_SYMBOL already include 
> linux/export.h on their own), there are a couple of equivalent changes 
> in 3.2~rc as well[1]; this becomes necessary because of[2].

I see.
Also I guess the compile error (warning?) happended in Matthijs's case
too.
Since I don't use cgroups, I am not aware of it.
Thanx.

Matthijs,
Please use this patch which will be included in next aufs release
(probably first release in next year).


J. R. Okajima

----------------------------------------------------------------------
commit 63be6ccc1a5863aeea31759d088ce78a13050940
Author: J. R. Okajima <hooano...@yahoo.co.jp>
Date:   Tue Dec 20 13:09:57 2011 +0900

    aufs stdalone: support for a new header export.h
    
    Since linux-3.2-rc1, the header was splitted out.
    
    Reported-by: Matthijs Kooijman <matth...@stdin.nl>
    Reported-by: "Stefan Lippers-Hollmann" <s....@gmx.de>
    SeeAlso: 
http://sourceforge.net/mailarchive/forum.php?thread_name=201112200410.55501.s.L-H%40gmx.de&forum_name=aufs-users
    Signed-off-by: J. R. Okajima <hooano...@yahoo.co.jp>

diff --git a/security/device_cgroup.c b/security/device_cgroup.c
index 2c437e5..bc94175 100644
--- a/security/device_cgroup.c
+++ b/security/device_cgroup.c
@@ -7,6 +7,7 @@
 #include <linux/device_cgroup.h>
 #include <linux/cgroup.h>
 #include <linux/ctype.h>
+#include <linux/export.h>
 #include <linux/list.h>
 #include <linux/uaccess.h>
 #include <linux/seq_file.h>
----------------------------------------------------------------------

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev

Reply via email to