Whamcloud - gitweb
symlink name is also stored there.
authorhuanghua <huanghua>
Tue, 17 Oct 2006 05:44:43 +0000 (05:44 +0000)
committerhuanghua <huanghua>
Tue, 17 Oct 2006 05:44:43 +0000 (05:44 +0000)
lustre/mdt/mdt_lib.c

index 61fe2d2..0b31fab 100644 (file)
@@ -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;