From 5b15d20bae650f75f87e626820a32c523d5a9777 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Thu, 24 Oct 2013 17:10:22 +0530 Subject: protocol/server: avoid rpc reply to the client only if the fop is barriered * Now, reply submission to the client is avoided even if the fop is not barriered Change-Id: I9d503935c4d851f5dd0e8e4be0fea9c92e636ff3 Signed-off-by: Raghavendra Bhat --- xlators/protocol/server/src/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c index 327a4b390..862e699b4 100644 --- a/xlators/protocol/server/src/server.c +++ b/xlators/protocol/server/src/server.c @@ -193,7 +193,7 @@ server_submit_reply (call_frame_t *frame, rpcsvc_request_t *req, void *arg, } } UNLOCK (&barrier->lock); - if (barriered == _gf_false) + if (barriered == _gf_true) goto ret; } /* Then, submit the message for transmission. */ -- cgit