summaryrefslogtreecommitdiffstats
path: root/xlators/features
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features')
-rw-r--r--xlators/features/snapview-server/src/snapview-server.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/xlators/features/snapview-server/src/snapview-server.c b/xlators/features/snapview-server/src/snapview-server.c
index 5cee414414b..22b0e1c6507 100644
--- a/xlators/features/snapview-server/src/snapview-server.c
+++ b/xlators/features/snapview-server/src/snapview-server.c
@@ -2180,6 +2180,21 @@ out:
return 0;
}
+int32_t
+notify (xlator_t *this, int32_t event, void *data, ...) {
+ switch (event) {
+
+ case GF_EVENT_PARENT_UP:
+ {
+ /* Tell the parent that snapview-server xlator is up */
+ default_notify (this, GF_EVENT_CHILD_UP, data);
+ }
+ break;
+ default:
+ break;
+ }
+ return 0;
+}
int32_t
mem_acct_init (xlator_t *this)