From 8e621bdfff915f40d67ed5b2d17914226c601108 Mon Sep 17 00:00:00 2001 From: Basavanagowda Kanur Date: Thu, 2 Apr 2009 06:09:26 +0530 Subject: cluster/stripe to propogate ESTALE to parent. Signed-off-by: Anand V. Avati --- xlators/cluster/stripe/src/stripe.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'xlators/cluster/stripe') 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; } -- cgit