From: Erez Zadok Date: Thu, 11 Sep 2008 03:41:02 +0000 (-0400) Subject: Unionfs: update parent mnt on unlink X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=8f0a794115a182e914527fc9b491891186fece39;p=unionfs-2.6.39.y.git Unionfs: update parent mnt on unlink Signed-off-by: Erez Zadok --- diff --git a/fs/unionfs/unlink.c b/fs/unionfs/unlink.c index 623f68d9cb0..fb236cdc728 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);