From 8a4b9858779c6188329f8cdc8f881e9fe0ef0c19 Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Thu, 18 Sep 2008 23:20:58 -0400 Subject: [PATCH] Unionfs: update parent mnt on unlink Signed-off-by: Erez Zadok --- fs/unionfs/unlink.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.34.1