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 -----Original Message-----unionfs From: Ngo, Andrew Sent: Tuesday, May 06, 2008 9:58 AM To: 'Fernando A. P. Gomes'; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; Johnson, Je; Ngo, Andrew Subject: RE: [Unionfs] Unionfs Patch Problem Thanks Fernado, The unionfs-2.3.3_for_2.6.18.8.centos5.diff.gz really help! All the patching problems that I encountered on my previous message are gone. Now I am running into a compile problem. Here is how I get here: 1. Patched my rhel5 (kernel 2.6.18.8.el5) with the unionfs-2.3.3_for_2.6.18.8.centos5.diff.gz 2. make menuconfig and set unionfs to M and the two suboptions (unionfs extended attributes and debug unionfs) to enabled 3. make The make command failed with the following error: ....... CC fs/splice.o CC fs/sync.o make[1]: *** No rule to make target `fs/stack.o', needed by `fs/built-in.o'. Stop. make: *** [fs] Error 2 -----Original Message----- From: Fernando A. P. Gomes [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 06, 2008 9:25 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; Ngo, Andrew; Johnson, Je Subject: Re: [Unionfs] Unionfs Patch Problem Hi, Try this diff instead the orig. Regards, Fernando Gomes
make.out1
Description: make.out1
_______________________________________________ unionfs mailing list: http://unionfs.filesystems.org/ unionfs@mail.fsl.cs.sunysb.edu http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs