diff options
Diffstat (limited to 'libglusterfs/src')
| -rw-r--r-- | libglusterfs/src/defaults-tmpl.c | 11 | 
1 files changed, 11 insertions, 0 deletions
diff --git a/libglusterfs/src/defaults-tmpl.c b/libglusterfs/src/defaults-tmpl.c index 0889e07caa7..0ef14d5c68e 100644 --- a/libglusterfs/src/defaults-tmpl.c +++ b/libglusterfs/src/defaults-tmpl.c @@ -182,6 +182,17 @@ default_notify (xlator_t *this, int32_t event, void *data, ...)                  }          }          break; +        case GF_EVENT_CLEANUP: +        { +                xlator_list_t *list = this->children; + +                while (list) { +                        xlator_notify (list->xlator, event, this); +                        list = list->next; +                } +        } +        break; +          default:          {                  xlator_list_t *parent = this->parents;  | 
