From f9345933b75cf7181358d1e791d3741b7b73771b Mon Sep 17 00:00:00 2001 From: Ravishankar N Date: Tue, 30 Jul 2019 17:05:22 +0530 Subject: afr: restore timestamp of parent dir during entry-heal Fixes: bz#1741044 Change-Id: I29e338bac62104233a6f80212df8d0fb016affda Signed-off-by: Ravishankar N (cherry picked from commit 8e9c53ebf16705b9a1db2fc486dc24a5cb244ddd) --- xlators/cluster/afr/src/afr-self-heal-entry.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators/cluster/afr/src/afr-self-heal-entry.c') diff --git a/xlators/cluster/afr/src/afr-self-heal-entry.c b/xlators/cluster/afr/src/afr-self-heal-entry.c index fc09b4ce539..3e0d17a1b9b 100644 --- a/xlators/cluster/afr/src/afr-self-heal-entry.c +++ b/xlators/cluster/afr/src/afr-self-heal-entry.c @@ -1014,6 +1014,8 @@ unlock: goto postop_unlock; } + afr_selfheal_restore_time(frame, this, fd->inode, source, healed_sinks, + locked_replies); ret = afr_selfheal_undo_pending( frame, this, fd->inode, sources, sinks, healed_sinks, undid_pending, AFR_ENTRY_TRANSACTION, locked_replies, postop_lock); -- cgit