summaryrefslogtreecommitdiffstats
path: root/xlators/features/trash/src/trash.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/trash/src/trash.c')
-rw-r--r--xlators/features/trash/src/trash.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xlators/features/trash/src/trash.c b/xlators/features/trash/src/trash.c
index b363dbab825..964817ef9f1 100644
--- a/xlators/features/trash/src/trash.c
+++ b/xlators/features/trash/src/trash.c
@@ -873,14 +873,14 @@ trash_unlink_rename_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
}
ctr_out:
TRASH_STACK_UNWIND (unlink, frame, 0, op_errno,
- &local->preparent,
- &local->postparent, new_xdata);
+ preoldparent, postoldparent,
+ new_xdata);
goto out;
}
}
/* All other cases, unlink should return success */
- TRASH_STACK_UNWIND (unlink, frame, 0, op_errno, &local->preparent,
- &local->postparent, xdata);
+ TRASH_STACK_UNWIND (unlink, frame, 0, op_errno, preoldparent,
+ postoldparent, xdata);
out:
if (tmp_str)