Unionfs: don't copy parent inode times in setattr
authorRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Mon, 31 Mar 2008 19:52:29 +0000 (15:52 -0400)
committerRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Mon, 31 Mar 2008 19:52:29 +0000 (15:52 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/inode.c

index f800d43edfac1eba332c964ca49038b91ebed4ac..8c972eb7b7c3e4bb6fc530800d1acdff8a999748 100644 (file)
@@ -966,8 +966,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);