From 0350a57152e5cbd0604758f6f99c888dfa2eb481 Mon Sep 17 00:00:00 2001 From: Nithya Balachandran Date: Fri, 11 Sep 2015 22:18:03 +0530 Subject: 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 >Reviewed-on: http://review.gluster.org/12165 >Tested-by: NetBSD Build System >Tested-by: Gluster Build System >Reviewed-by: Raghavendra G (cherry picked from commit 2ec8ea8769e943d3987dd80f8f6937359bcccf34) Signed-off-by: Nithya Balachandran Change-Id: I6b744be71c87737f0f35fe70c3ffbf391bb1a153 BUG: 1263191 Reviewed-on: http://review.gluster.org/12178 Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: Raghavendra G --- xlators/cluster/dht/src/dht-selfheal.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/cluster/dht') diff --git a/xlators/cluster/dht/src/dht-selfheal.c b/xlators/cluster/dht/src/dht-selfheal.c index cd1d97f7fc0..515069af417 100644 --- a/xlators/cluster/dht/src/dht-selfheal.c +++ b/xlators/cluster/dht/src/dht-selfheal.c @@ -309,6 +309,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; } -- cgit