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

From: Francis Giraldeau <francis.giraldeau_at_revolutionlinux.com>
Date: Thu 20 Jul 2006 - 17:26:31 BST
Message-id: <44BFAEB7.8080707@revolutionlinux.com>

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?

Thanks a lot in advance and have a nice day,

Francis

-- 
Francis Giraldeau, Ing jr.
Revolution Linux
819-780-8955 poste *1111
Toutes les opinions et les prises de position exprimees dans ce courriel
sont celles de son auteur et ne representent pas necessairement celles
de Revolution Linux
Any views and opinions expressed in this email are solely those of the
author and do not necessarily represent those of Revolution Linux
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu Jul 20 17:54:17 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 20 Jul 2006 - 17:54:25 BST by hypermail 2.1.8