From 553aa029de1817ae182cc86c1d00f8eb8ff52b50 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Thu, 12 Aug 2010 01:54:10 +0000 Subject: fixed some backward compatibility issues Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati 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 --- xlators/protocol/legacy/server/src/server-protocol.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xlators/protocol/legacy/server/src/server-protocol.c') diff --git a/xlators/protocol/legacy/server/src/server-protocol.c b/xlators/protocol/legacy/server/src/server-protocol.c index 5193e54b1f5..35d58ae99cd 100644 --- a/xlators/protocol/legacy/server/src/server-protocol.c +++ b/xlators/protocol/legacy/server/src/server-protocol.c @@ -342,7 +342,7 @@ protocol_server_reply (call_frame_t *frame, int type, int op, STACK_DESTROY (frame->root); if (state) - free_state (state); + free_old_server_state (state); } @@ -6489,6 +6489,7 @@ notify (xlator_t *this, int32_t event, void *data, ...) peer_info_t *peerinfo = NULL; peer_info_t *myinfo = NULL; + THIS = this; trans = data; if (!trans) { gf_log (this->name, GF_LOG_ERROR, "!trans"); -- cgit