Whamcloud - gitweb
in case of remote object flag OBD_MD_MDS should be set
authortappro <tappro>
Thu, 24 Aug 2006 15:37:39 +0000 (15:37 +0000)
committertappro <tappro>
Thu, 24 Aug 2006 15:37:39 +0000 (15:37 +0000)
lustre/mdt/mdt_handler.c

index 30648b3..b52050a 100644 (file)
@@ -238,7 +238,7 @@ static int mdt_getattr_internal(struct mdt_thread_info *info,
         if (rc == -EREMOTE) {
                 /* This object is located on remote node.*/
                 repbody->fid1 = *mdt_object_fid(o);
-                repbody->valid |= OBD_MD_FLID;
+                repbody->valid |= (OBD_MD_FLID | OBD_MD_MDS);
                 RETURN(0);
         } else if (rc){
                 CERROR("getattr error for "DFID": %d\n",