Am Donnerstag, 20. Juli 2006 18:26 schrieb Francis Giraldeau:
> Hi,
>
> I tried to compile unionfs-1.3 with linux 2.6.17.5 with the vserver
> patch 2.0.2, but I got this error :
>
> CC [M] /home/francis/rpm/BUILD/unionfs-1.3/inode.o
> /home/francis/rpm/BUILD/unionfs-1.3/inode.c: In function 'unionfs_link':
> /home/francis/rpm/BUILD/unionfs-1.3/inode.c:260: error: too few
> arguments to function 'vfs_unlink'
> [...]
>
> Here is a snipet of code from the vserver patch, that shows the fuction
> definition change :
>
> -extern int vfs_unlink(struct inode *, struct dentry *);
> +extern int vfs_unlink(struct inode *, struct dentry *, struct nameidata
> *);
>
> In the inode.c, the fuction call is missing a pointer to a nameidata
> struct:
> unionfs-1.3/inode.c:260
> vfs_unlink(hidden_dir_dentry->d_inode,whiteout_dentry);
>
> What can be done to make unionfs compatible with vserver?
You can try these patches:
http://mozart.informatik.fh-kl.de/download/Software/VServer/vserver.html
They aren't espcially for unionfs-1.3 but they should be appliable.
>
> Thanks a lot in advance and have a nice day,
>
> Francis
-- Wilhelm Meier email: wilhelm.meier@fh-kl.de _______________________________________________ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserverReceived on Fri Jul 21 20:57:48 2006