From 3e7dfa816d14f8a41759c7d356836ec201fd66d1 Mon Sep 17 00:00:00 2001 From: Erez_Zadok Date: Mon, 16 Jul 2007 23:42:55 -0400 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 9b6f5016614e..c168b2383c37 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 */ /* -- 2.43.0