summaryrefslogtreecommitdiffstats
path: root/xlators/features/namespace
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/namespace')
-rw-r--r--xlators/features/namespace/src/namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/namespace/src/namespace.c b/xlators/features/namespace/src/namespace.c
index cabd247da0c..b1c61c912fc 100644
--- a/xlators/features/namespace/src/namespace.c
+++ b/xlators/features/namespace/src/namespace.c
@@ -129,7 +129,7 @@ ns_inode_ctx_put (inode_t *inode, xlator_t *this, ns_info_t *info)
int ret = -1;
if (!inode || !this) {
- gf_log (this->name, GF_LOG_WARNING,
+ gf_log (this ? this->name : "namespace", GF_LOG_WARNING,
"Need a valid inode and xlator to cache ns_info.");
ret = -1;
goto out;