commit 81457e791d06ab1420b256ae9a9e414996690eea
Author: Erez Zadok <[EMAIL PROTECTED]>
Date:   Fri Sep 19 01:08:11 2008 -0400

    Unionfs: update parent mnt on unlink
    
    Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>

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);
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to