summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammed Junaid <junaid@redhat.com>2012-03-19 12:05:09 +0530
committerVijay Bellur <vijay@gluster.com>2012-03-20 07:47:21 -0700
commita2291931d550cbbc19983bccb93dbf31a9993db4 (patch)
tree3a766403b841ca97b20e17f3dbee804ab7ceab0d
parentc816d16288d3089d9e986c3155cb5ca9265b6210 (diff)
features/marker: Replacing -1 with GF_CLIENT_PID_GSYNCD as part of code cleanup.
Change-Id: Ia665060bff636b372904a726aba5249de9ade124 BUG: 769494 Signed-off-by: Mohammed Junaid <junaid@redhat.com> Reviewed-on: http://review.gluster.com/2971 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Csaba Henk <csaba@redhat.com>
-rw-r--r--xlators/features/marker/src/marker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/marker/src/marker.c b/xlators/features/marker/src/marker.c
index e92b27d06..fcaafe746 100644
--- a/xlators/features/marker/src/marker.c
+++ b/xlators/features/marker/src/marker.c
@@ -459,7 +459,7 @@ marker_xtime_update_marks (xlator_t *this, marker_local_t *local)
GF_VALIDATE_OR_GOTO ("marker", this, out);
GF_VALIDATE_OR_GOTO (this->name, local, out);
- if (local->pid == -1)
+ if (local->pid == GF_CLIENT_PID_GSYNCD)
goto out;
marker_gettimeofday (local);