From 61e343c72b384faa56e034750bd5bb5b4667681b Mon Sep 17 00:00:00 2001 From: "Anand V. Avati" Date: Fri, 22 May 2009 02:10:25 +0000 Subject: THIS: default_notify to use xlator_notify for THIS compatibility Signed-off-by: Anand V. Avati --- libglusterfs/src/defaults.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'libglusterfs') diff --git a/libglusterfs/src/defaults.c b/libglusterfs/src/defaults.c index ca7c34b3a0a..77451d11c96 100644 --- a/libglusterfs/src/defaults.c +++ b/libglusterfs/src/defaults.c @@ -1451,11 +1451,8 @@ default_lock_fnotify (call_frame_t *frame, xlator_t *this, /* notify */ -int32_t -default_notify (xlator_t *this, - int32_t event, - void *data, - ...) +int +default_notify (xlator_t *this, int32_t event, void *data, ...) { switch (event) { @@ -1465,7 +1462,7 @@ default_notify (xlator_t *this, while (list) { - list->xlator->notify (list->xlator, event, this); + xlator_notify (list->xlator, event, this); list = list->next; } } @@ -1476,7 +1473,7 @@ default_notify (xlator_t *this, { xlator_list_t *parent = this->parents; while (parent) { - parent->xlator->notify (parent->xlator, event, this, NULL); + xlator_notify (parent->xlator, event, this, NULL); parent = parent->next; } } -- cgit