summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/stripe/src
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/stripe/src')
-rw-r--r--xlators/cluster/stripe/src/stripe.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/xlators/cluster/stripe/src/stripe.c b/xlators/cluster/stripe/src/stripe.c
index 0b598e69150..2053ec72aef 100644
--- a/xlators/cluster/stripe/src/stripe.c
+++ b/xlators/cluster/stripe/src/stripe.c
@@ -429,8 +429,10 @@ stripe_stack_unwind_inode_lookup_cbk (call_frame_t *frame,
"%s returned error %s",
((call_frame_t *)cookie)->this->name,
strerror (op_errno));
- local->op_errno = op_errno;
- if (op_errno == ENOTCONN)
+ if (local->op_errno != ESTALE)
+ local->op_errno = op_errno;
+ if ((op_errno == ENOTCONN)
+ || (op_errno == ESTALE))
local->failed = 1;
}