From: Erez Zadok Date: Mon, 31 Mar 2008 23:16:07 +0000 (-0400) Subject: Unionfs: update lower mnts on rmdir with copyup X-Git-Tag: unionfs-2.3.2~1 X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=882203919494525726fe5bbdd4021b417341194c;p=unionfs-2.6.22.y.git Unionfs: update lower mnts on rmdir with copyup Signed-off-by: Erez Zadok --- 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)