From 108bcf4a90479629829bf38424979784e5864a5c Mon Sep 17 00:00:00 2001 From: huanghua Date: Tue, 29 Jul 2008 04:32:22 +0000 Subject: [PATCH] Branch HEAD b=16505 i=yong.fan i=yury.umanets correctly handling error case if child object does not exist --- lustre/mdt/mdt_handler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index 6877e81..5ad763f 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -952,6 +952,7 @@ relock: LU_OBJECT_DEBUG(D_WARNING, info->mti_env, &child->mot_obj.mo_lu, "Object doesn't exist!\n"); + GOTO(out_child, rc = -ESTALE); } ma->ma_valid = 0; -- 1.8.3.1