From 01945fc1b83ee21fb54f98c8e35ccb86e684440e Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Sun, 30 Mar 2008 17:15:08 -0400 Subject: [PATCH] Unionfs: update lower mnts on rmdir with copyup Signed-off-by: Erez Zadok --- fs/unionfs/unlink.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/unionfs/unlink.c b/fs/unionfs/unlink.c index c66bb3ee2d2..cad0386b530 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) -- 2.43.0