Hi Jan,
> the file fs/mount.h belongs to the normal kernel source. Upstream suggest > to build the aufs-module inside the kernel source tree. Yes, by replacing the relative #include paths with absolute ones I got it working. > Since this is not > simply possible for the automatic Debian package builds, I have to think > about a good solution for thr Debian package. The build is run from the kernel source directory, so why not fix the path to via a patch? > If I find a good solution > I also could enable the setting CONFIG_AUFS_EXPORT=y by default for the > package. That would be helpful. Please see the attached patch.
diff --git i/config.mk w/config.mk index 9c8cde7..7eff7aa 100644 --- i/config.mk +++ w/config.mk @@ -8,18 +8,18 @@ CONFIG_AUFS_BRANCH_MAX_1023 = CONFIG_AUFS_SBILIST = y CONFIG_AUFS_HNOTIFY = CONFIG_AUFS_HFSNOTIFY = -CONFIG_AUFS_EXPORT = -CONFIG_AUFS_XATTR = +CONFIG_AUFS_EXPORT = y +CONFIG_AUFS_XATTR = y CONFIG_AUFS_FHSM = CONFIG_AUFS_RDU = -CONFIG_AUFS_SHWH = +CONFIG_AUFS_SHWH = y CONFIG_AUFS_BR_RAMFS = CONFIG_AUFS_BR_FUSE = CONFIG_AUFS_BR_HFSPLUS = CONFIG_AUFS_DEBUG = y CONFIG_AUFS_MAGIC_SYSRQ = CONFIG_AUFS_BDEV_LOOP = -CONFIG_AUFS_INO_T_64 = +CONFIG_AUFS_INO_T_64 = y CONFIG_AUFS_POLL = ######################################## diff --git i/fs/aufs/export.c w/fs/aufs/export.c index 8ffc8e7..088af35 100644 --- i/fs/aufs/export.c +++ w/fs/aufs/export.c @@ -25,7 +25,7 @@ #include <linux/nsproxy.h> #include <linux/random.h> #include <linux/writeback.h> -#include "../fs/mount.h" +#include <linux/mount.h> #include "aufs.h" union conv { diff --git i/fs/aufs/vfsub.c w/fs/aufs/vfsub.c index 2d01dd8..87d8e9e 100644 --- i/fs/aufs/vfsub.c +++ w/fs/aufs/vfsub.c @@ -23,7 +23,7 @@ #include <linux/nsproxy.h> #include <linux/security.h> #include <linux/splice.h> -#include "../fs/mount.h" +#include <linux/mount.h> #include "aufs.h" #ifdef CONFIG_AUFS_BR_FUSE