summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/marker')
-rw-r--r--xlators/features/marker/src/marker.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/features/marker/src/marker.c b/xlators/features/marker/src/marker.c
index 044feeae747..3a43ffdf453 100644
--- a/xlators/features/marker/src/marker.c
+++ b/xlators/features/marker/src/marker.c
@@ -846,12 +846,12 @@ marker_rename_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
STACK_UNWIND_STRICT (rename, frame, op_ret, op_errno, buf, preoldparent,
postoldparent, prenewparent, postnewparent);
- oplocal = local->oplocal;
- local->oplocal = NULL;
-
if (op_ret == -1 || local == NULL)
goto out;
+ oplocal = local->oplocal;
+ local->oplocal = NULL;
+
priv = this->private;
if (priv->feature_enabled & GF_QUOTA) {