From: huanghua Date: Tue, 17 Oct 2006 05:44:43 +0000 (+0000) Subject: symlink name is also stored there. X-Git-Tag: v1_8_0_110~486^2~486 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=436565cac5059c1f9727a32d1bb5d16877868f0e;p=fs%2Flustre-release.git symlink name is also stored there. --- diff --git a/lustre/mdt/mdt_lib.c b/lustre/mdt/mdt_lib.c index 61fe2d2..0b31fab 100644 --- a/lustre/mdt/mdt_lib.c +++ b/lustre/mdt/mdt_lib.c @@ -494,7 +494,7 @@ void mdt_shrink_reply(struct mdt_thread_info *info, int offset, body = req_capsule_server_get(&info->mti_pill, &RMF_MDT_BODY); LASSERT(body != NULL); - if (body->valid & (OBD_MD_FLDIREA|OBD_MD_FLEASIZE)) + if (body->valid & (OBD_MD_FLDIREA | OBD_MD_FLEASIZE | OBD_MD_LINKNAME)) md_size = body->eadatasize; else md_size = 0;