summaryrefslogtreecommitdiffstats
path: root/libglusterfsclient/src/libglusterfsclient-internals.h
diff options
context:
space:
mode:
authorAnand V. Avati <avati@amp.gluster.com>2009-04-11 23:22:26 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-04-12 11:33:48 +0530
commit6d94a368e061afeeac6fb57c5910c71f60791dc3 (patch)
tree1f25b6e4791fc5de5476d903380a23b6f19c778b /libglusterfsclient/src/libglusterfsclient-internals.h
parent77714c065d99767f5a3820bc1c62b22522681821 (diff)
updated libglusterfsclient with IOBUF/IOBREFs
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient-internals.h')
-rwxr-xr-xlibglusterfsclient/src/libglusterfsclient-internals.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient-internals.h b/libglusterfsclient/src/libglusterfsclient-internals.h
index a547da303..b12c08efa 100755
--- a/libglusterfsclient/src/libglusterfsclient-internals.h
+++ b/libglusterfsclient/src/libglusterfsclient-internals.h
@@ -160,11 +160,9 @@ typedef struct libglusterfs_client_async_local {
call_frame_t *frame = get_call_frame_for_req (ctx, 1); \
xlator_t *xl = frame->this->children ? \
frame->this->children->xlator : NULL; \
- dict_t *refs = frame->root->req_refs; \
frame->root->state = ctx; \
frame->local = local; \
STACK_WIND (frame, ret_fn, xl, xl->fops->op, args); \
- dict_unref (refs); \
} while (0)
#define LIBGF_CLIENT_FOP(ctx, stub, op, local, args ...) \
@@ -172,7 +170,6 @@ typedef struct libglusterfs_client_async_local {
call_frame_t *frame = get_call_frame_for_req (ctx, 1); \
xlator_t *xl = frame->this->children ? \
frame->this->children->xlator : NULL; \
- dict_t *refs = frame->root->req_refs; \
if (!local) { \
local = CALLOC (1, sizeof (*local)); \
} \
@@ -183,7 +180,6 @@ typedef struct libglusterfs_client_async_local {
pthread_mutex_init (&local->lock, NULL); \
LIBGF_STACK_WIND_AND_WAIT (frame, libgf_client_##op##_cbk, xl, \
xl->fops->op, args); \
- dict_unref (refs); \
stub = local->reply_stub; \
FREE (frame->local); \
frame->local = NULL; \