[Unionfs] Unionfs Patch Problem
Erez Zadok
ezk at cs.sunysb.edu
Wed May 7 13:11:37 EDT 2008
In message <AC33E917323B7F429C94A5B919B4CD18067C9CD2 at emss04m05.us.lmco.com>, "Ngo, Andrew" writes:
> Hi,
>
> The patching of unionfs-2.3.3_for_2.6.18.8.centos5.diff.gz needs various
> files (fs/stack.c, include/linux/fs_stack.h), and directory
> (fs/unionfs). So I did not proceed with this route. The
> unionfs-2.3.3_for_2.6.18.8.centos5.diff.gz, however, generates good
> patch files (drivers/md/dm-mpath.h, fs/Makefile, and
> include/linux/namei.h). I copied these files generated/patched from
> unionfs-2.3.3_for_2.6.18.8.centos5.diff.gz
>
> Now, I am patching the RHEL5 kernel 2.6.18.8.el5 with the original
> unionfs-2.3.3_for_2.6.18.8.diff.gz, and then overlay the above three
> files saved from patching with the
> unionfs-2.3.3_for_2.6.18.8.centos5.diff.gz.
>
> The compile operation went further, but eventually it failed (See
> attached make.out1 file).
>
> CC [M] fs/unionfs/rdstate.o
> CC [M] fs/unionfs/copyup.o
> fs/unionfs/copyup.c: In function 'copyup_xattrs':
> fs/unionfs/copyup.c:38: error: implicit declaration of function
> 'vfs_listxattr'
> make[2]: *** [fs/unionfs/copyup.o] Error 1
> make[1]: *** [fs/unionfs] Error 2
> make: *** [fs] Error 2
>
> Does anyone know how to fix this compile problem??? Thanks in advance.
>
> Andy Ngo
Andy, there's no xattr support in unionfs for 2.6.18 (the VFS was lacking
some vital support, I don't recommend it). So plz turn off
CONFIG_UNION_FS_XATTR.
Anyway, thanks to Konrad's rhel5 tarball, I produced now a unionfs-2.3.3
patch which applies and compiles cleanly on rhel5. See
http://download.filesystems.org/unionfs/unionfs-2.x/unionfs-2.3.3_for_2.6.18-RHEL5.diff.gz
Cheers,
Erez.
More information about the unionfs
mailing list