From: huanghua Date: Wed, 16 Aug 2006 07:26:52 +0000 (+0000) Subject: fix a defect introduced by last commit: X-Git-Tag: v1_8_0_110~486^2~1163 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=f25383a40355252bd831658c72ceeff20cb4fbaa;p=fs%2Flustre-release.git fix a defect introduced by last commit: we return success to client when object locates on another server. --- diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index 55cd758..25c6288 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -239,7 +239,7 @@ static int mdt_getattr_internal(struct mdt_thread_info *info, /* This object is located on remote node.*/ repbody->fid1 = *mdt_object_fid(o); repbody->valid |= OBD_MD_FLID; - RETURN(rc); + RETURN(0); } else if (rc){ CERROR("getattr error for "DFID": %d\n", PFID(mdt_object_fid(o)), rc);