From 8214b9fcd3930c18e96a973b0f8eacc31c75d33c Mon Sep 17 00:00:00 2001 From: Erez_Zadok Date: Fri, 16 Nov 2007 13:47:06 -0500 Subject: [PATCH] Unionfs: cache-coherency: update times of root inode after branch management Signed-off-by: Erez Zadok --- fs/unionfs/super.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c index 6aa25835da..1d53608ba4 100644 --- a/fs/unionfs/super.c +++ b/fs/unionfs/super.c @@ -797,6 +797,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 */ /* -- 2.43.0