diff options
author | Dan Lambright <dlambrig@redhat.com> | 2015-06-26 16:33:49 -0400 |
---|---|---|
committer | Raghavendra Talur <rtalur@redhat.com> | 2016-04-27 11:52:20 -0700 |
commit | c54be67f438c71b4cdd63eb1702acfe86e765412 (patch) | |
tree | baca101ec584fb4bb944a39bba120b5071388b60 /xlators/cluster/dht/src | |
parent | 7433fcfdf7a663ab228de67099e8a53fed526fb0 (diff) |
cluster/tier: fixes for migration over ec as cold tier
Backport of http://review.gluster.org/11433
The above mentioned patch was backported but it was not complete.
This patch backports whatever was left out. For more info, refer to
previous backport at http://review.gluster.org/#/c/11652.
Change-Id: I6ccda8ca8e43485b9b354341bbfcb302496f632c
BUG: 1330765
Signed-off-by: Raghavendra Talur <rtalur@redhat.com>
Reviewed-on: http://review.gluster.org/14084
Smoke: Gluster Build System <jenkins@build.gluster.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/cluster/dht/src')
-rw-r--r-- | xlators/cluster/dht/src/dht-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index 555b9f9c7d6..9dc3a1b9d5b 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -3740,7 +3740,7 @@ dht_setxattr2 (xlator_t *this, xlator_t *subvol, call_frame_t *frame, int ret) return 0; err: - DHT_STACK_UNWIND (setxattr, frame, -1, op_errno, NULL); + DHT_STACK_UNWIND (setxattr, frame, local ? local->op_ret : -1, op_errno, NULL); return 0; } |