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

index 5321b36b44d540cd9c01bb08ab8b6fe472ba1c7e..3dee4c44d33988fb22e7014408271f1348f6d408 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);