Unionfs: remove unnecessary calls to copy_attr_times
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 19 Sep 2008 02:22:26 +0000 (22:22 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Mon, 12 Jan 2009 23:20:58 +0000 (18:20 -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);