diff options
Diffstat (limited to 'xlators/features/changelog')
-rw-r--r-- | xlators/features/changelog/lib/src/gf-changelog.c | 4 |
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 874ffd0d13b..bc953369343 100644 --- a/xlators/features/changelog/lib/src/gf-changelog.c +++ b/xlators/features/changelog/lib/src/gf-changelog.c @@ -136,6 +136,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; |