From 8f0a794115a182e914527fc9b491891186fece39 Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Wed, 10 Sep 2008 23:41:02 -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