From fdbff3c4d34296825c2aac023cb07519d922903d Mon Sep 17 00:00:00 2001 From: Susant Palai Date: Thu, 25 Jun 2015 17:40:18 +0530 Subject: dht: return non NULL xattr,xdata for ret >= 0 Change-Id: I4a3dd8c00894ceeed4af77df2d960f372281a03b BUG: 1235989 Signed-off-by: Susant Palai Reviewed-on: http://review.gluster.org/11409 Reviewed-by: Raghavendra Talur Reviewed-by: Raghavendra G Tested-by: Raghavendra G --- xlators/cluster/dht/src/dht-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/cluster/dht') diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index a4e0afa4316..dbbb7e59bc0 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -2731,11 +2731,11 @@ dht_find_local_subvol_cbk (call_frame_t *frame, void *cookie, xlator_t *this, goto unwind; } - DHT_STACK_UNWIND (getxattr, frame, 0, 0, NULL, NULL); + DHT_STACK_UNWIND (getxattr, frame, 0, 0, xattr, xdata); goto out; unwind: - DHT_STACK_UNWIND (getxattr, frame, -1, local->op_errno, NULL, NULL); + DHT_STACK_UNWIND (getxattr, frame, -1, local->op_errno, NULL, xdata); out: return 0; } -- cgit