diff options
author | Nithya Balachandran <nbalacha@redhat.com> | 2015-09-11 22:18:03 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2015-09-21 04:28:58 -0700 |
commit | 0350a57152e5cbd0604758f6f99c888dfa2eb481 (patch) | |
tree | df99c1091b6c9d22bdf0445b42e3f3ddb45c1df9 /xlators | |
parent | f139283f32e7f3dad7db0b2e3f802f3708084b43 (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>
(cherry picked from commit 2ec8ea8769e943d3987dd80f8f6937359bcccf34)
Signed-off-by: Nithya Balachandran <nbalacha@redhat.com>
Change-Id: I6b744be71c87737f0f35fe70c3ffbf391bb1a153
BUG: 1263191
Reviewed-on: http://review.gluster.org/12178
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')
-rw-r--r-- | xlators/cluster/dht/src/dht-selfheal.c | 1 |
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 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; } |