From dcfe34e6c07597911fc28c4ccc2fca3320d28f15 Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Tue, 20 Nov 2007 22:23:08 -0500 Subject: [PATCH] Unionfs: set lower mnt after mkdir which resulted in copyup Signed-off-by: Erez Zadok --- fs/unionfs/inode.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c index 1708f40acc8..9c144beb73e 100644 --- a/fs/unionfs/inode.c +++ b/fs/unionfs/inode.c @@ -674,8 +674,10 @@ out: kfree(name); - if (!err) + if (!err) { unionfs_copy_attr_times(dentry->d_inode); + unionfs_postcopyup_setmnt(dentry); + } unionfs_check_inode(parent); unionfs_check_dentry(dentry); unionfs_unlock_dentry(dentry); -- 2.43.0