summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/cluster/dht/src/dht-common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c
index 83ec81ff342..d4b5a7211d0 100644
--- a/xlators/cluster/dht/src/dht-common.c
+++ b/xlators/cluster/dht/src/dht-common.c
@@ -5054,6 +5054,7 @@ dht_notify (xlator_t *this, int event, void *data, ...)
subvol = data;
conf->gen++;
+ propagate = 1;
break;
@@ -5145,7 +5146,8 @@ dht_notify (xlator_t *this, int event, void *data, ...)
}
}
- if (propagate || event == GF_EVENT_CHILD_MODIFIED)
+ ret = 0;
+ if (propagate)
ret = default_notify (this, event, data);
return ret;