From 032ca47a4356a68522f5366a341d78b01ca9864c Mon Sep 17 00:00:00 2001 From: Krutika Dhananjay Date: Mon, 5 Oct 2015 15:30:03 +0530 Subject: features/shard: Use the xattr rsp dict to pick shard xattrs in xattrop cbk The change http://review.gluster.org/#/c/11938/ makes a fix in posix translator which would cause sharding to fail fops post xattrop without this patch. Change-Id: If096965b319f393608b0f763402b9b90acb61492 BUG: 1268796 Signed-off-by: Krutika Dhananjay Reviewed-on: http://review.gluster.org/12300 Tested-by: NetBSD Build System Reviewed-by: Pranith Kumar Karampuri --- xlators/features/shard/src/shard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/features/shard/src') diff --git a/xlators/features/shard/src/shard.c b/xlators/features/shard/src/shard.c index 289f8e48ba9..aee6ed3ce45 100644 --- a/xlators/features/shard/src/shard.c +++ b/xlators/features/shard/src/shard.c @@ -396,7 +396,7 @@ shard_update_file_size_cbk (call_frame_t *frame, void *cookie, xlator_t *this, goto err; } - if (shard_modify_size_and_block_count (&local->postbuf, xdata)) { + if (shard_modify_size_and_block_count (&local->postbuf, dict)) { local->op_ret = -1; local->op_errno = ENOMEM; goto err; -- cgit