projects
/
unionfs-2.6.20.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54f6248
)
Unionfs: ensure cache coherency in unionfs_fsync/fasync
author
Erez_Zadok
<ezk@cs.sunysb.edu>
Sun, 22 Jul 2007 05:10:45 +0000
(
01:10
-0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Thu, 18 Oct 2007 18:11:09 +0000
(14:11 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/file.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/file.c
b/fs/unionfs/file.c
index cd2ff9e21eca015e2860043141a897230befee12..3f6b2d053ceb9705c98c7bb152ca11d37b3b3304 100644
(file)
--- a/
fs/unionfs/file.c
+++ b/
fs/unionfs/file.c
@@
-179,6
+179,8
@@
int unionfs_fsync(struct file *file, struct dentry *dentry, int datasync)
goto out;
}
+ unionfs_copy_attr_times(inode);
+
out:
unionfs_read_unlock(file->f_path.dentry->d_sb);
unionfs_check_file(file);
@@
-222,6
+224,8
@@
int unionfs_fasync(int fd, struct file *file, int flag)
goto out;
}
+ unionfs_copy_attr_times(inode);
+
out:
unionfs_read_unlock(file->f_path.dentry->d_sb);
unionfs_check_file(file);