summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/defaults.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libglusterfs/src/defaults.c b/libglusterfs/src/defaults.c
index 00f84694a..ec41ce926 100644
--- a/libglusterfs/src/defaults.c
+++ b/libglusterfs/src/defaults.c
@@ -1219,10 +1219,11 @@ default_notify (xlator_t *this, int32_t event, void *data, ...)
break;
case GF_EVENT_CHILD_CONNECTING:
case GF_EVENT_CHILD_MODIFIED:
+ case GF_EVENT_CHILD_DOWN:
case GF_EVENT_CHILD_UP:
{
xlator_list_t *parent = this->parents;
- /* Handle the case of CHILD_UP specially, send it to fuse */
+ /* Handle case of CHILD_* event specially, send it to fuse */
if (!parent && this->ctx && this->ctx->master)
xlator_notify (this->ctx->master, event, this->graph, NULL);
@@ -1234,7 +1235,6 @@ default_notify (xlator_t *this, int32_t event, void *data, ...)
}
}
break;
- case GF_EVENT_CHILD_DOWN:
default:
{
xlator_list_t *parent = this->parents;