From a2291931d550cbbc19983bccb93dbf31a9993db4 Mon Sep 17 00:00:00 2001 From: Mohammed Junaid Date: Mon, 19 Mar 2012 12:05:09 +0530 Subject: features/marker: Replacing -1 with GF_CLIENT_PID_GSYNCD as part of code cleanup. Change-Id: Ia665060bff636b372904a726aba5249de9ade124 BUG: 769494 Signed-off-by: Mohammed Junaid Reviewed-on: http://review.gluster.com/2971 Tested-by: Gluster Build System Reviewed-by: Csaba Henk --- xlators/features/marker/src/marker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators') 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); -- cgit