diff options
author | karthik-us <ksubrahm@redhat.com> | 2017-11-30 19:09:42 +0530 |
---|---|---|
committer | karthik-us <ksubrahm@redhat.com> | 2017-11-30 19:14:26 +0530 |
commit | 757d4a5a5fc0a3c2f6c450d228525b7a87fe3172 (patch) | |
tree | e7e78a87fa182afede6f266e38f1dc75a0647c41 /xlators/cluster | |
parent | aba2b775bd4bd5528fcefcceb02fd70d858ec2d5 (diff) |
dht: coverity fix in dht-rebalance.c
Fixed UNUSED_VALUE warning in dht_migrate_file.
Issue ID: 526
From: http://download.gluster.org/pub/gluster/glusterfs/
static-analysis/master/glusterfs-coverity/2017-11-30-eb013e4c
Change-Id: I37395e8ce7088742501424fcce918f0ee8ab4f3d
BUG: 789278
Signed-off-by: karthik-us <ksubrahm@redhat.com>
Diffstat (limited to 'xlators/cluster')
-rw-r--r-- | xlators/cluster/dht/src/dht-rebalance.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-rebalance.c b/xlators/cluster/dht/src/dht-rebalance.c index a7ae6e37b60..b8ba8ba70a1 100644 --- a/xlators/cluster/dht/src/dht-rebalance.c +++ b/xlators/cluster/dht/src/dht-rebalance.c @@ -1946,7 +1946,6 @@ dht_migrate_file (xlator_t *this, loc_t *loc, xlator_t *from, xlator_t *to, "%s: failed to perform setattr on %s ", loc->path, to->name); *fop_errno = -ret; - ret = -1; } if (target_changed) { |