From: Erez Zadok Date: Wed, 21 Nov 2007 03:23:08 +0000 (-0500) Subject: Unionfs: set lower mnt after mkdir which resulted in copyup X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=520d7f7e8f18ed833dd8a050145f75896b11d258;p=unionfs-2.6.39.y.git Unionfs: set lower mnt after mkdir which resulted in copyup Signed-off-by: Erez Zadok --- 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);