summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/features/marker/src/marker.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/features/marker/src/marker.c b/xlators/features/marker/src/marker.c
index e7a704874a8..66ef66f62cc 100644
--- a/xlators/features/marker/src/marker.c
+++ b/xlators/features/marker/src/marker.c
@@ -133,8 +133,10 @@ marker_trav_parent (marker_local_t *local)
ret = marker_inode_loc_fill (local->loc.parent, &loc);
- if (ret == -1)
+ if (ret < 0) {
+ ret = -1;
goto out;
+ }
loc_wipe (&local->loc);