Unionfs: update lower mnts on rmdir with copyup
authorErez Zadok <ezk@cs.sunysb.edu>
Sun, 30 Mar 2008 21:15:08 +0000 (17:15 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 29 Apr 2011 02:26:10 +0000 (22:26 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/unlink.c

index c66bb3ee2d291ec322e02ed01b6adf7da4d6c174..cad0386b530b952abc311eae9aa9e7b453a18817 100644 (file)
@@ -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)