Unionfs: don't copy parent inode times in setattr
authorErez Zadok <ezk@cs.sunysb.edu>
Sun, 23 Mar 2008 05:20:38 +0000 (01:20 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Sat, 19 Jul 2008 03:22:56 +0000 (23:22 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/inode.c

index 2e791fdf1a852f58d05c97894ba627b9c3322b42..c0d319e983b4b755f834be359d9a958284c98bc8 100644 (file)
@@ -1064,8 +1064,7 @@ static int unionfs_setattr(struct dentry *dentry, struct iattr *ia)
        if (ia->ia_valid & ATTR_ATIME_SET)
                inode->i_atime = lower_inode->i_atime;
        fsstack_copy_inode_size(inode, lower_inode);
-       /* if setattr succeeded, then parent dir may have changed */
-       unionfs_copy_attr_times(dentry->d_parent->d_inode);
+
 out:
        if (!err)
                unionfs_check_dentry(dentry);