Unionfs: remove unnecessary calls to copy_attr_times
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 19 Sep 2008 05:28:37 +0000 (01:28 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 19 Sep 2008 05:28:37 +0000 (01:28 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/inode.c

index 41a0b1c19615bd72f560aa4a6e439172e00549fe..9667560259377c7afc92246c4981a75f1d637c16 100644 (file)
@@ -210,8 +210,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);