diff options
-rw-r--r-- | xlators/features/marker/src/marker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/marker/src/marker.c b/xlators/features/marker/src/marker.c index e8a8eeab6e4..fbe640f0feb 100644 --- a/xlators/features/marker/src/marker.c +++ b/xlators/features/marker/src/marker.c @@ -459,7 +459,7 @@ marker_specific_setxattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this, } } - ret = marker_trav_parent (local); + ret = (local) ? marker_trav_parent (local) : -1; if (ret == -1) { gf_log (this->name, GF_LOG_DEBUG, "Error occurred " |