Whamcloud - gitweb
fix a defect introduced by last commit:
authorhuanghua <huanghua>
Wed, 16 Aug 2006 07:26:52 +0000 (07:26 +0000)
committerhuanghua <huanghua>
Wed, 16 Aug 2006 07:26:52 +0000 (07:26 +0000)
we return success to client when object locates on another server.

lustre/mdt/mdt_handler.c

index 55cd758..25c6288 100644 (file)
@@ -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);