[Unionfs] Unionfs Patch Problem
Ngo, Andrew
andrew.ngo at lmco.com
Tue May 6 12:19:40 EDT 2008
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'; unionfs at filer.fsl.cs.sunysb.edu
Cc: unionfs at fsl.cs.sunysb.edu; 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:fapg-unionfs at eurotux.com]
Sent: Tuesday, May 06, 2008 9:25 AM
To: unionfs at filer.fsl.cs.sunysb.edu
Cc: unionfs at fsl.cs.sunysb.edu; Ngo, Andrew; Johnson, Je
Subject: Re: [Unionfs] Unionfs Patch Problem
Hi,
Try this diff instead the orig.
Regards,
Fernando Gomes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.out1
Type: application/octet-stream
Size: 27818 bytes
Desc: make.out1
Url : http://www.fsl.cs.sunysb.edu/pipermail/unionfs/attachments/20080506/72b102c2/make-0001.obj
More information about the unionfs
mailing list