summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/features/changetimerecorder/src/changetimerecorder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/changetimerecorder/src/changetimerecorder.c b/xlators/features/changetimerecorder/src/changetimerecorder.c
index a230b2fc4ba..04cd3145d95 100644
--- a/xlators/features/changetimerecorder/src/changetimerecorder.c
+++ b/xlators/features/changetimerecorder/src/changetimerecorder.c
@@ -329,7 +329,7 @@ ctr_lookup (call_frame_t *frame, xlator_t *this,
GF_ASSERT(frame->root);
/* Dont handle nameless lookups*/
- if (!loc->parent)
+ if (!loc->parent || !loc->name)
goto out;
/*fill ctr link context*/