commit c64710920594bc6585679b574cbe580adee49261
Author: Erez_Zadok <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>

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 */
 
        /*
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to