summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.c')
-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 e9d1f0d5a..35b273e88 100644
--- a/xlators/cluster/dht/src/dht-common.c
+++ b/xlators/cluster/dht/src/dht-common.c
@@ -5037,6 +5037,7 @@ dht_notify (xlator_t *this, int event, void *data, ...)
subvol = data;
conf->gen++;
+ propagate = 1;
break;
@@ -5134,7 +5135,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;