summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server/src/server.c
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-07-06 06:15:46 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-06 05:58:45 -0700
commitd1b057ac65fb61cb6f0c25aafb7d1ba54c6fe36b (patch)
treeaad425af9e1e40aa02de922ec54eb59c3fdb90c3 /xlators/protocol/server/src/server.c
parent22a79cd791a5d8baa3c623673ff7bd0bb62564e4 (diff)
avoid repeating code
'frame->local = NULL' is done in submit_reply, instead of doing in every _cbk (), of server3_1-fops.c also fixes bug=1052 Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
Diffstat (limited to 'xlators/protocol/server/src/server.c')
-rw-r--r--xlators/protocol/server/src/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c
index a7501babb..1210a807a 100644
--- a/xlators/protocol/server/src/server.c
+++ b/xlators/protocol/server/src/server.c
@@ -98,6 +98,7 @@ server_submit_reply (call_frame_t *frame, rpcsvc_request_t *req, void *arg,
if (frame) {
state = CALL_STATE (frame);
+ frame->local = NULL;
}
if (!iobref) {