diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2013-10-24 17:10:22 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2013-10-24 17:12:34 +0530 |
commit | 5b15d20bae650f75f87e626820a32c523d5a9777 (patch) | |
tree | bc7e37bb2ff37ba5211af74bc890002d24e05179 /xlators | |
parent | 8bd58c108f2591805e6f41fe84dfda2d31707c01 (diff) |
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 <raghavendra@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/protocol/server/src/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |