diff options
author | Anand V. Avati <avati@amp.gluster.com> | 2009-04-11 18:15:11 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-12 11:33:47 +0530 |
commit | ad86fba6e22b10b06aa44426c2ab3591c54ed0a7 (patch) | |
tree | d2a898bdf2f80e878f18887b4e87c7c013442c74 /xlators/protocol/client/src/saved-frames.c | |
parent | 2e743ddc4a89f8a4d0c9ff0f16a6faf0218e453f (diff) |
updated protocol/client with new readv writev prototypes
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/protocol/client/src/saved-frames.c')
-rw-r--r-- | xlators/protocol/client/src/saved-frames.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/xlators/protocol/client/src/saved-frames.c b/xlators/protocol/client/src/saved-frames.c index a28f4a49aa1..501045fd148 100644 --- a/xlators/protocol/client/src/saved-frames.c +++ b/xlators/protocol/client/src/saved-frames.c @@ -155,10 +155,6 @@ saved_frames_unwind (xlator_t *this, struct saved_frames *saved_frames, gf_hdr_common_t hdr = {0, }; call_frame_t *frame = NULL; - dict_t *reply = NULL; - - reply = get_new_dict(); - dict_ref (reply); hdr.rsp.op_ret = hton32 (-1); hdr.rsp.op_errno = hton32 (ENOTCONN); @@ -172,17 +168,14 @@ saved_frames_unwind (xlator_t *this, struct saved_frames *saved_frames, hdr.op = hton32 (trav->op); frame = trav->frame; - frame->root->rsp_refs = reply; saved_frames->count--; - gf_ops[trav->op] (frame, &hdr, sizeof (hdr), NULL, 0); + gf_ops[trav->op] (frame, &hdr, sizeof (hdr), NULL); list_del_init (&trav->list); FREE (trav); } - - dict_unref (reply); } |