diff options
-rw-r--r-- | libglusterfs/src/defaults.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libglusterfs/src/defaults.c b/libglusterfs/src/defaults.c index ba47ecc8801..ef8104e594a 100644 --- a/libglusterfs/src/defaults.c +++ b/libglusterfs/src/defaults.c @@ -1499,7 +1499,9 @@ default_notify (xlator_t *this, int32_t event, void *data, ...) { xlator_list_t *parent = this->parents; while (parent) { - xlator_notify (parent->xlator, event, this, NULL); + if (parent->xlator->ready) + xlator_notify (parent->xlator, event, + this, NULL); parent = parent->next; } } |