summaryrefslogtreecommitdiffstats
path: root/xlators/features/changelog
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/changelog')
-rw-r--r--xlators/features/changelog/src/changelog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/changelog/src/changelog.c b/xlators/features/changelog/src/changelog.c
index 6c7a0a80f17..1c7166e52b5 100644
--- a/xlators/features/changelog/src/changelog.c
+++ b/xlators/features/changelog/src/changelog.c
@@ -2376,7 +2376,7 @@ reconfigure (xlator_t *this, dict_t *options)
} else {
gf_log (this->name, GF_LOG_DEBUG,
"changelog reconfigured");
- if (active_now)
+ if (active_now && priv)
priv->active = _gf_true;
}