diff options
| -rw-r--r-- | xlators/cluster/dht/src/dht-rebalance.c | 2 | 
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 41a50cff3cc..0c83c15a4dc 100644 --- a/xlators/cluster/dht/src/dht-rebalance.c +++ b/xlators/cluster/dht/src/dht-rebalance.c @@ -3894,7 +3894,7 @@ gf_defrag_start_crawl (void *data)                  }                  ret = gf_defrag_total_file_cnt (this, &loc); -                if (!ret) { +                if (ret) {                          gf_msg (this->name, GF_LOG_ERROR, 0, 0, "Failed to get "                                  "the total number of files. Unable to estimate "                                  "time to complete rebalance.");  | 
