GIT: unionfs2-2.6.27.y: Unionfs: remove unnecessary calls to copy_attr_times

Erez Zadok ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:18:09 EDT 2010


commit e68ca3cc6ce3066f592610ba41d3d9128ff33915
Author: Erez Zadok <ezk at cs.sunysb.edu>
Date:   Tue Sep 16 00:01:53 2008 -0400

    Unionfs: remove unnecessary calls to copy_attr_times
    
    Signed-off-by: Erez Zadok <ezk at cs.sunysb.edu>

diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c
index 241297b..0d2eac1 100644
--- a/fs/unionfs/inode.c
+++ b/fs/unionfs/inode.c
@@ -217,8 +217,6 @@ static struct dentry *unionfs_lookup(struct inode *parent,
 			unionfs_postcopyup_release(dentry);
 		}
 		unionfs_copy_attr_times(dentry->d_inode);
-		/* parent times may have changed */
-		unionfs_copy_attr_times(dentry->d_parent->d_inode);
 	}
 
 	unionfs_check_inode(parent);


More information about the unionfs-cvs mailing list