Whamcloud - gitweb
b=20918 improve log warning
[fs/lustre-release.git] / lustre / tests / ll_dirstripe_verify.c
index 2c92091..8239298 100644 (file)
@@ -240,7 +240,7 @@ int main(int argc, char **argv)
                 return rc;
         }
 
-        lum_size = lov_mds_md_size(MAX_LOV_UUID_COUNT);
+        lum_size = lov_mds_md_size(MAX_LOV_UUID_COUNT, LOV_MAGIC);
         if ((lum_dir = (struct lov_user_md *)malloc(lum_size)) == NULL) {
                 rc = ENOMEM;
                 llapi_err(LLAPI_MSG_ERROR, "error: can't allocate %d bytes "