GIT: unionfs2-2.6.27.y: Unionfs: update lower mnts on rmdir with copyup

Erez Zadok ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:17:55 EDT 2010


commit 1f95ef4c942f89d130418792420e0c9db93b0d6a
Author: Erez Zadok <ezk at cs.sunysb.edu>
Date:   Sun Mar 30 17:15:08 2008 -0400

    Unionfs: update lower mnts on rmdir with copyup
    
    Signed-off-by: Erez Zadok <ezk at cs.sunysb.edu>

diff --git a/fs/unionfs/unlink.c b/fs/unionfs/unlink.c
index c66bb3e..cad0386 100644
--- a/fs/unionfs/unlink.c
+++ b/fs/unionfs/unlink.c
@@ -280,6 +280,8 @@ out:
 		    !unionfs_lower_inode_idx(inode, dend))
 			ibstart(inode) = ibend(inode) = -1;
 		d_drop(dentry);
+		/* update our lower vfsmnts, in case a copyup took place */
+		unionfs_postcopyup_setmnt(dentry);
 	}
 
 	if (namelist)


More information about the unionfs-cvs mailing list