summaryrefslogtreecommitdiffstats
path: root/xlators/features/changelog/lib
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/changelog/lib')
-rw-r--r--xlators/features/changelog/lib/src/gf-changelog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/features/changelog/lib/src/gf-changelog.c b/xlators/features/changelog/lib/src/gf-changelog.c
index 5972e7052d8..165703d3aa6 100644
--- a/xlators/features/changelog/lib/src/gf-changelog.c
+++ b/xlators/features/changelog/lib/src/gf-changelog.c
@@ -137,6 +137,10 @@ gf_changelog_ctx_defaults_init (glusterfs_ctx_t *ctx)
if (!ctx->dict_data_pool)
return -1;
+ ctx->logbuf_pool = mem_pool_new (log_buf_t, 256);
+ if (!ctx->logbuf_pool)
+ return -1;
+
INIT_LIST_HEAD (&pool->all_frames);
LOCK_INIT (&pool->lock);
ctx->pool = pool;