From 69680ec053f741961a141c81fa095f76531665e2 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Wed, 23 May 2012 23:43:44 +0530 Subject: protocol/client: use correct xlator object while creating frames during reopening files and reacquiring locks. Change-Id: I29f42fcfa9e782ce9e323e53024e5034029914a7 BUG: 822337 Signed-off-by: Raghavendra G Reviewed-on: http://review.gluster.com/3420 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- xlators/protocol/client/src/client-handshake.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/protocol/client/src') diff --git a/xlators/protocol/client/src/client-handshake.c b/xlators/protocol/client/src/client-handshake.c index d058986ba..64e0c356d 100644 --- a/xlators/protocol/client/src/client-handshake.c +++ b/xlators/protocol/client/src/client-handshake.c @@ -622,7 +622,7 @@ clnt_release_reopen_fd (xlator_t *this, clnt_fd_ctx_t *fdctx) conf = (clnt_conf_t *) this->private; - frame = create_frame (THIS, THIS->ctx->pool); + frame = create_frame (this, this->ctx->pool); if (!frame) goto out; @@ -827,7 +827,7 @@ _client_reacquire_lock (xlator_t *this, clnt_fd_ctx_t *fdctx) memcpy (req.gfid, fdctx->inode->gfid, 16); - frame = create_frame (THIS, THIS->ctx->pool); + frame = create_frame (this, this->ctx->pool); if (!frame) { ret = -1; break; -- cgit