From 436565cac5059c1f9727a32d1bb5d16877868f0e Mon Sep 17 00:00:00 2001 From: huanghua Date: Tue, 17 Oct 2006 05:44:43 +0000 Subject: [PATCH] symlink name is also stored there. --- lustre/mdt/mdt_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.8.3.1