summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSusant Palai <spalai@redhat.com>2015-06-25 17:40:18 +0530
committerRaghavendra G <rgowdapp@redhat.com>2015-08-13 21:02:57 -0700
commitfdbff3c4d34296825c2aac023cb07519d922903d (patch)
treefcc76d65d0d3c0a7b661584e9f8eb62161138571
parentdb4e3a371c66c400b3cb95d4e7701625bef4ac95 (diff)
dht: return non NULL xattr,xdata for ret >= 0
Change-Id: I4a3dd8c00894ceeed4af77df2d960f372281a03b BUG: 1235989 Signed-off-by: Susant Palai <spalai@redhat.com> Reviewed-on: http://review.gluster.org/11409 Reviewed-by: Raghavendra Talur <rtalur@redhat.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com> Tested-by: Raghavendra G <rgowdapp@redhat.com>
-rw-r--r--xlators/cluster/dht/src/dht-common.c4
1 files changed, 2 insertions, 2 deletions
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;
}