projects
/
unionfs-2.6.9.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6706634
)
Unionfs: don't copy parent inode times in setattr
author
Erez Zadok
<ezk@cs.sunysb.edu>
Sun, 23 Mar 2008 06:50:57 +0000
(
02:50
-0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Sun, 23 Mar 2008 06:50:57 +0000
(
02:50
-0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/inode.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/inode.c
b/fs/unionfs/inode.c
index d556c48027a33d613af27a3fe5a5a79feccf47a6..f421ffbd1b906bea7b51b5178796c92b5d389b1c 100644
(file)
--- a/
fs/unionfs/inode.c
+++ b/
fs/unionfs/inode.c
@@
-1045,8
+1045,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);