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

Michael Creel michael.creel at uab.es
Mon Nov 27 07:26:43 EST 2006



hooanon05 at yahoo.co.jp wrote:
> Wilhelm Meier:
>> Strange, this is what I get (the tar-file is from the unionfs-ftp):
>>
>> gs ~ # md5sum unionfs-1.4.tar.gz
>> 38ed4d9e41c20cf398018928d2c62700  unionfs-1.4.tar.gz
> 
> Very strange.
> This is what I got after extracting the same unionfs-1.4.tar.gz.
> 
> /tmp/unionfs-1.4$ md5sum branchman.c main.c persistent_inode.c unionfs_imap.h 
> 5dd4cd7a76ec83c5ea3ad2e996371f41  branchman.c
> eda0f5910f0970350b4161579aff5c71  main.c
> 24998cdfe3f39955b6b93b1a65344255  persistent_inode.c
> 37f4975175eee0880dd6734093720968  unionfs_imap.h
> /tmp/unionfs-1.4$ patch -p0 < ../a.patch 
> patching file branchman.c
> patching file main.c
> patching file persistent_inode.c
> patching file unionfs_imap.h
> /tmp/unionfs-1.4$ !md5
> md5sum branchman.c main.c persistent_inode.c unionfs_imap.h 
> d79ac84bdf87e819d05728bdf81c6e10  branchman.c
> fe96971c81c66ea10efa0e0f5f2491ac  main.c
> 81970f31fd35972d00f38bea25f63352  persistent_inode.c
> c3025cdfe6e92a60b25d94b3f169565f  unionfs_imap.h
> 
> 
> Junjiro Okajima
> _______________________________________________
> unionfs mailing list
> unionfs at mail.fsl.cs.sunysb.edu
> http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs


Here's what I get, using vanilla unionfs 1.4

michael at yosemite:~/Desktop/unionfs-1.4$ patch -p0 < ../thepatch.txt
patching file persistent_inode.c
Hunk #1 FAILED at 211.
1 out of 1 hunk FAILED -- saving rejects to file persistent_inode.c.rej
michael at yosemite:~/Desktop/unionfs-1.4$



the contents of thepatch.txt are


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;


Michael




More information about the unionfs mailing list