GIT: unionfs2-2.6.27.y: Unionfs: update parent mnt on unlink

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


commit 39eaad98dc631cfbffb6fb1a16d66535d7b05f7a
Author: Erez Zadok <ezk at cs.sunysb.edu>
Date:   Wed Sep 10 23:41:02 2008 -0400

    Unionfs: update parent mnt on unlink
    
    Signed-off-by: Erez Zadok <ezk at cs.sunysb.edu>

diff --git a/fs/unionfs/unlink.c b/fs/unionfs/unlink.c
index 623f68d..fb236cd 100644
--- a/fs/unionfs/unlink.c
+++ b/fs/unionfs/unlink.c
@@ -146,6 +146,7 @@ int unionfs_unlink(struct inode *dir, struct dentry *dentry)
 	/* call d_drop so the system "forgets" about us */
 	if (!err) {
 		unionfs_postcopyup_release(dentry);
+		unionfs_postcopyup_setmnt(dentry->d_parent);
 		if (inode->i_nlink == 0) /* drop lower inodes */
 			iput_lowers_all(inode, false);
 		d_drop(dentry);


More information about the unionfs-cvs mailing list