summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
authorN Balachandran <nbalacha@redhat.com>2018-08-13 22:17:17 +0530
committerAtin Mukherjee <amukherj@redhat.com>2018-08-14 12:22:50 +0000
commit76fcdc2a18311ece1ba0d2a191c9d3261637d41c (patch)
tree110642c89260fec48f093f8c1933eeccd74a2a5d /xlators/cluster
parente49c95ddfbaddb865e836a520e1d9070bbeec5e4 (diff)
cluster/dht: Fixed rebalanced files
An error caused skipped files to be counted as rebalanced files. Change-Id: I02333f099fb8b73ba953f41a2922021a1e4da7be fixes: bz#1615474 Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'xlators/cluster')
-rw-r--r--xlators/cluster/dht/src/dht-rebalance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-rebalance.c b/xlators/cluster/dht/src/dht-rebalance.c
index fcc0391f802..e25064ea26e 100644
--- a/xlators/cluster/dht/src/dht-rebalance.c
+++ b/xlators/cluster/dht/src/dht-rebalance.c
@@ -2973,7 +2973,7 @@ gf_defrag_migrate_single_file (void *opaque)
}
ret = 0;
-
+ goto out;
} else if (ret < 0) {
if (fop_errno != EEXIST) {
gf_msg (this->name, GF_LOG_ERROR, fop_errno,