projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adc3d81
)
Unionfs: cache-coherency: update times of root inode after branch management
author
Erez_Zadok
<ezk@cs.sunysb.edu>
Tue, 17 Jul 2007 03:42:55 +0000
(23:42 -0400)
committer
Erez_Zadok
<ezk@cs.sunysb.edu>
Mon, 23 Jul 2007 00:50:55 +0000
(20:50 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/super.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/super.c
b/fs/unionfs/super.c
index 9b6f5016614e39fae8dfc31ff0a58d454aaa6e9b..c168b2383c371241871ffe9120ed01049cb6f667 100644
(file)
--- a/
fs/unionfs/super.c
+++ b/
fs/unionfs/super.c
@@
-764,6
+764,8
@@
out_no_change:
atomic_set(&UNIONFS_I(sb->s_root->d_inode)->generation, i);
if (!(*flags & MS_SILENT))
printk("unionfs: new generation number %d\n", i);
+ /* finally, update the root dentry's times */
+ unionfs_copy_attr_times(sb->s_root->d_inode);
err = 0; /* reset to success */
/*