From 7820f7563aff8e1a5e73eb75adc387635a301b6e Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Thu, 23 Feb 2012 12:24:08 +0530 Subject: protocol/client: Pass correct dict in client_readdirp Also, alloc entry->dict before calling unserialize to it. Change-Id: I8a9db93afd6e95e75307467cd654805780d7b467 BUG: 796534 Signed-off-by: shishir gowda Reviewed-on: http://review.gluster.com/2803 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- xlators/protocol/client/src/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/protocol/client/src/client.c') diff --git a/xlators/protocol/client/src/client.c b/xlators/protocol/client/src/client.c index 9a494522716..d93a99cff6e 100644 --- a/xlators/protocol/client/src/client.c +++ b/xlators/protocol/client/src/client.c @@ -1792,7 +1792,7 @@ client_readdirp (call_frame_t *frame, xlator_t *this, fd_t *fd, args.fd = fd; args.size = size; args.offset = off; - args.xattr_req = dict; + args.dict = dict; proc = &conf->fops->proctable[GF_FOP_READDIRP]; if (!proc) { -- cgit