summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/cluster/dht/src/dht-rebalance.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-rebalance.c b/xlators/cluster/dht/src/dht-rebalance.c
index 783d153d0..2fcb9e3c0 100644
--- a/xlators/cluster/dht/src/dht-rebalance.c
+++ b/xlators/cluster/dht/src/dht-rebalance.c
@@ -1060,7 +1060,7 @@ gf_defrag_migrate_data (xlator_t *this, gf_defrag_info_t *defrag, loc_t *loc,
uuid_t node_uuid = {0,};
int readdir_operrno = 0;
- gf_log (this->name, GF_LOG_INFO, "migate data called on %s",
+ gf_log (this->name, GF_LOG_INFO, "migrate data called on %s",
loc->path);
fd = fd_create (loc->inode, defrag->pid);
if (!fd) {
@@ -1479,6 +1479,8 @@ out:
}
UNLOCK (&defrag->lock);
+ xlator_notify (this, GF_EVENT_PARENT_DOWN, this);
+
if (defrag)
GF_FREE (defrag);