GIT: unionfs2-2.6.27.y: Unionfs: set lower mnt after mkdir which resulted in copyup
Erez Zadok
ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:17:27 EDT 2010
commit b00963f9e47bee0ae9716f043e204d39bc077308
Author: Erez Zadok <ezk at cs.sunysb.edu>
Date: Tue Nov 20 22:23:08 2007 -0500
Unionfs: set lower mnt after mkdir which resulted in copyup
Signed-off-by: Erez Zadok <ezk at cs.sunysb.edu>
diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c
index 1708f40..9c144be 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);
More information about the unionfs-cvs
mailing list