summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/cluster/stripe/src/stripe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/cluster/stripe/src/stripe.c b/xlators/cluster/stripe/src/stripe.c
index aa65eb4fbce..73700ff925e 100644
--- a/xlators/cluster/stripe/src/stripe.c
+++ b/xlators/cluster/stripe/src/stripe.c
@@ -1122,7 +1122,9 @@ stripe_unlink (call_frame_t *frame, xlator_t *this, loc_t *loc,
local->op_ret = -1;
loc_copy (&local->loc, loc);
local->xflag = xflag;
- local->xdata = dict_ref (xdata);
+
+ if (xdata)
+ local->xdata = dict_ref (xdata);
frame->local = local;
local->call_count = priv->child_count;