projects
/
unionfs-3.6.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ffde8b
)
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>
Sun, 24 Nov 2013 07:52:55 +0000
(
02:52
-0500)
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 d08ef8ba3dc9d0b6de7580a1c1a0e1db9f898240..e9e63b78015e1fbe86f4ebff4df1241c1e5232e1 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);