summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2012-02-15 11:22:00 +0530
committerVijay Bellur <vijay@gluster.com>2012-02-14 22:20:07 -0800
commitc8d47f056ef69d2a644646fd24e8f58de4c0e70e (patch)
treed255c64c53822899c5584fc94214cd39e9cf7329
parent69dad8baff6b0461fde1edbcb1418d0ba3beaa6c (diff)
features/marker: copy the gfid to loc from oplocal->loc.inodev3.3.0qa22
Change-Id: I8cfb70c163a3c4a0bd682678f71b38b5bae20ab4 BUG: 790393 Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Reviewed-on: http://review.gluster.com/2750 Reviewed-by: Vijay Bellur <vijay@gluster.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
-rw-r--r--xlators/features/marker/src/marker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/marker/src/marker.c b/xlators/features/marker/src/marker.c
index 06f8c966863..54a7e1a28f3 100644
--- a/xlators/features/marker/src/marker.c
+++ b/xlators/features/marker/src/marker.c
@@ -970,6 +970,7 @@ marker_rename_done (call_frame_t *frame, void *cookie, xlator_t *this,
if (priv->feature_enabled & GF_XTIME) {
//update marks on oldpath
+ uuid_copy (local->loc.gfid, oplocal->loc.inode->gfid);
marker_xtime_update_marks (this, oplocal);
marker_xtime_update_marks (this, local);
}