From c2c68119b6134ae863b485427534e3364bf2b0ab Mon Sep 17 00:00:00 2001 From: tappro Date: Thu, 24 Aug 2006 15:37:39 +0000 Subject: [PATCH] in case of remote object flag OBD_MD_MDS should be set --- lustre/mdt/mdt_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index 30648b3..b52050a 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -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", -- 1.8.3.1