summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 85a04944077..ce6978470ee 100644
--- a/xlators/features/changetimerecorder/src/changetimerecorder.c
+++ b/xlators/features/changetimerecorder/src/changetimerecorder.c
@@ -330,7 +330,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*/