Unionfs: remove unnecessary calls to copy_attr_times
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 16 Sep 2008 04:01:53 +0000 (00:01 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 24 Jun 2011 18:08:01 +0000 (14:08 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/inode.c

index 241297b55edcfa7413fed670e649181cd181ee26..0d2eac11bc77582178403f32305498a6a00fb543 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);