diff options
Diffstat (limited to 'xlators/cluster/stripe')
-rw-r--r-- | xlators/cluster/stripe/src/stripe.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xlators/cluster/stripe/src/stripe.c b/xlators/cluster/stripe/src/stripe.c index 0b598e691..2053ec72a 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; } |