[Unionfs] Can't mount NFS-exported union anymore in unionfs-1.4

hooanon05 at yahoo.co.jp hooanon05 at yahoo.co.jp
Fri Nov 24 06:59:53 EST 2006


> >   CC [M]  /root/unionfs-1.4.nfs-permission-denied/persistent_inode.o
> > /root/unionfs-1.4.nfs-permission-denied/persistent_inode.c: In 
> > function 'verify_reversemap':
> > /root/unionfs-1.4.nfs-permission-denied/persistent_inode.c:214: warning: 
> > passing argument 1 of 'd->d_sb->s_op->statfs' from incompatible pointer type
> 
> I will check it later.

Will you try this patch?

Junjiro Okajima

Index: persistent_inode.c
===================================================================
RCS file: /home/cvs/unionfs/unionfs/persistent_inode.c,v
retrieving revision 1.36
diff -u -p -r1.36 persistent_inode.c
--- persistent_inode.c	8 Jul 2006 17:58:31 -0000	1.36
+++ persistent_inode.c	24 Nov 2006 12:03:16 -0000
@@ -211,7 +211,7 @@ static int verify_reversemap(struct supe
 
 			d = hidden_root_info->udi_dentry[bindex];
 
-			err = d->d_sb->s_op->statfs(d->d_sb, &st);
+			err = d->d_sb->s_op->statfs(d, &st);
 			if (err)
 				goto out;
 


More information about the unionfs mailing list