summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/features/changelog/lib/src/gf-changelog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/features/changelog/lib/src/gf-changelog.c b/xlators/features/changelog/lib/src/gf-changelog.c
index 0827f2cac6c..f74d8effe95 100644
--- a/xlators/features/changelog/lib/src/gf-changelog.c
+++ b/xlators/features/changelog/lib/src/gf-changelog.c
@@ -23,6 +23,7 @@
#include "globals.h"
#include "glusterfs.h"
#include "logging.h"
+#include "defaults.h"
#include "gf-changelog-helpers.h"
@@ -65,6 +66,8 @@ __attribute__ ((constructor)) gf_changelog_ctor (void)
}
THIS->ctx = ctx;
+ if (xlator_mem_acct_init (THIS, gf_changelog_mt_end))
+ return;
}
void