Unionfs: remove unnecessary calls to copy_attr_times
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 19 Sep 2008 01:49:47 +0000 (21:49 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 13 Jan 2009 01:43:39 +0000 (20:43 -0500)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/inode.c

index 84efb306ce9569a9b046c02d6d63440128581e70..5fad340c2c6471b8613a49666a39879b978fff7b 100644 (file)
@@ -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);