GIT: unionfs2-2.6.27.y: Unionfs: cache-coherency: update times of root inode after branch management

Erez Zadok ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:16:46 EDT 2010


commit 951bb21771c9242b6b57c9946980849df3515a08
Author: Erez_Zadok <ezk at cs.sunysb.edu>
Date:   Mon Jul 16 23:42:55 2007 -0400

    Unionfs: cache-coherency: update times of root inode after branch management
    
    Signed-off-by: Erez Zadok <ezk at cs.sunysb.edu>

diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c
index 9b6f501..c168b23 100644
--- 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 */
 
 	/*


More information about the unionfs-cvs mailing list