From 8eaa67b98aaa02ee0a389fd28304402687d9cfa8 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 Backport of: http://review.gluster.org/#/c/12300/ 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: Id86b332a14b190694f5098e94bceb86e5b73e127 BUG: 1268804 Signed-off-by: Krutika Dhananjay Reviewed-on: http://review.gluster.org/12301 Reviewed-by: Vijay Bellur Tested-by: Vijay Bellur --- xlators/features/shard/src/shard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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