Re: [Vserver] Can't compile unionfs with linux-vserver patch

From: Wilhelm Meier <wilhelm.meier_at_fh-kl.de>
Date: Fri 21 Jul 2006 - 20:52:58 BST
Message-Id: <200607212152.58808.wilhelm.meier@fh-kl.de>

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/vserver
Received on Fri Jul 21 20:57:48 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 21 Jul 2006 - 20:57:54 BST by hypermail 2.1.8