diff options
| author | Ravishankar N <ravishankar@redhat.com> | 2019-07-30 17:05:22 +0530 | 
|---|---|---|
| committer | Ravishankar N <ravishankar@redhat.com> | 2019-08-26 08:44:38 +0000 | 
| commit | f9345933b75cf7181358d1e791d3741b7b73771b (patch) | |
| tree | 2e1b8286c5d8676b2be451f6f17d33c6052f2641 /xlators/cluster/afr/src/afr-self-heal-entry.c | |
| parent | 50af844bdc0de2c55b3b2b5b68f60b62b66cb12c (diff) | |
afr: restore timestamp of parent dir during entry-heal
Fixes: bz#1741044
Change-Id: I29e338bac62104233a6f80212df8d0fb016affda
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
(cherry picked from commit 8e9c53ebf16705b9a1db2fc486dc24a5cb244ddd)
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-entry.c')
| -rw-r--r-- | xlators/cluster/afr/src/afr-self-heal-entry.c | 2 | 
1 files changed, 2 insertions, 0 deletions
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);  | 
