summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/src/marker.h
diff options
context:
space:
mode:
authorMohammed Junaid Ahmed <junaid@gluster.com>2011-02-04 02:12:19 +0000
committerAnand V. Avati <avati@dev.gluster.com>2011-02-04 00:39:30 -0800
commita139e43f484d1b434c9120f9fb99bf5ff33fb51d (patch)
treef555e0543e3e674389ea9d95616a79ce99391592 /xlators/features/marker/src/marker.h
parent5f8e2cab86eab7f5ee5b4bb9b649376e476c740c (diff)
marker: Updating the xtime marks on both the paths in rename fop.v3.1.2gsyncqa5
Signed-off-by: Junaid <junaid@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 2372 (marker: time stamp not updated with rename) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2372
Diffstat (limited to 'xlators/features/marker/src/marker.h')
-rw-r--r--xlators/features/marker/src/marker.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/features/marker/src/marker.h b/xlators/features/marker/src/marker.h
index 60567c3b828..eeb64a16a87 100644
--- a/xlators/features/marker/src/marker.h
+++ b/xlators/features/marker/src/marker.h
@@ -36,6 +36,7 @@
_frame->local = _local; \
_local->pid = _frame->root->pid; \
memset (&_local->loc, 0, sizeof (loc_t)); \
+ _local->oplocal = NULL; \
} while (0)
/* try alloc and if it fails, goto label */
@@ -53,6 +54,8 @@ struct marker_local{
uint32_t timebuf[2];
pid_t pid;
loc_t loc;
+
+ struct marker_local *oplocal;
};
typedef struct marker_local marker_local_t;