From fc8a72b56397938732365dd929ae41c4b611b202 Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Fri, 21 Mar 2008 16:02:19 -0400 Subject: [PATCH] Unionfs: don't copy parent inode times in setattr Signed-off-by: Erez Zadok --- fs/unionfs/inode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c index 640969dde198..0dc07eca08e6 100644 --- a/fs/unionfs/inode.c +++ b/fs/unionfs/inode.c @@ -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); -- 2.43.0