[Filesystems-devel] Bug#843846: Bug#843846: aufs for 4.8: "../fs/mount.h not found" when enabling NFS export

Jan Luca Naumann j.naumann at fu-berlin.de
Thu Nov 10 09:03:11 UTC 2016


Caution: linux/mount.h is not the same as fs/mount.h, see 
https://github.com/torvalds/linux/blob/master/fs/mount.h
vs.
https://github.com/torvalds/linux/blob/master/include/linux/mount.h

Jan

Am 10. November 2016 09:56:49 MEZ, schrieb Philipp Marek <philipp.marek at linbit.com>:
>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.



More information about the Filesystems-devel mailing list