From 796bd8de4349e1b2806b82e6698c19e6c90f3935 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 c66bb3ee2d29..cad0386b530b 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