summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-selfheal.c
diff options
context:
space:
mode:
authorNithya Balachandran <nbalacha@redhat.com>2015-09-11 22:18:03 +0530
committerRaghavendra G <rgowdapp@redhat.com>2015-09-13 23:29:01 -0700
commit2ec8ea8769e943d3987dd80f8f6937359bcccf34 (patch)
tree1b24966d16d299d8d0b96d6eea2a850806133be7 /xlators/cluster/dht/src/dht-selfheal.c
parentc31ac73cd8e9ca4b872a48667e09019991dea00b (diff)
cluster/dht : Propagate op_errno on failure
Fixed issue where dht_selfheal_layout_lock_cbk does not propagate the op_errno. Change-Id: I0b968339db65d2969e36e64407eeb724cc6516bd BUG: 1262438 Signed-off-by: Nithya Balachandran <nbalacha@redhat.com> Reviewed-on: http://review.gluster.org/12165 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-selfheal.c')
-rw-r--r--xlators/cluster/dht/src/dht-selfheal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-selfheal.c b/xlators/cluster/dht/src/dht-selfheal.c
index ab15ca6d66d..997f694681b 100644
--- a/xlators/cluster/dht/src/dht-selfheal.c
+++ b/xlators/cluster/dht/src/dht-selfheal.c
@@ -306,6 +306,7 @@ dht_selfheal_layout_lock_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
}
if (op_ret < 0) {
+ local->op_errno = op_errno;
goto err;
}