summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/xlator.h
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2018-04-13 00:16:22 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2018-04-18 13:55:49 +0000
commita7525c507eb682d317dafaa7d06ba59b2c50048d (patch)
tree0d32d0047094c8d73743bba665bcef00e28d0ddb /libglusterfs/src/xlator.h
parent52d1b36e3738b7117c5ecf0a83ceba1438fad68a (diff)
cluster/afr: Make sure latency-arg is passed to afr
xlator_notify doesn't pass the extra arguments that come in the input function, so XLATOR_NOTIFY macro should be used instead to pass the extra arguments to the function. BUG: 1567881 fixes bz#1567881 Change-Id: Ic15b6c446638cbacf3149693147a754219037c47 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'libglusterfs/src/xlator.h')
-rw-r--r--libglusterfs/src/xlator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h
index be6cf60e8c7..f41ebddd9a9 100644
--- a/libglusterfs/src/xlator.h
+++ b/libglusterfs/src/xlator.h
@@ -1135,7 +1135,7 @@ typedef struct {
#define xlator_has_parent(xl) (xl->parents != NULL)
-#define XLATOR_NOTIFY(_xl, params ...) \
+#define XLATOR_NOTIFY(ret, _xl, params ...) \
do { \
xlator_t *_old_THIS = NULL; \
\