Whamcloud - gitweb
b=15899
authornathan <nathan>
Fri, 22 Aug 2008 17:41:03 +0000 (17:41 +0000)
committernathan <nathan>
Fri, 22 Aug 2008 17:41:03 +0000 (17:41 +0000)
i=nathan
i=adilger
add OST pools

lustre/tests/ll_getstripe_info.c

index 4b61102..ca5093c 100644 (file)
@@ -64,7 +64,7 @@ int main(int argc, char** argv)
                 return 1;
         }
 
-        lum_size = lov_mds_md_size(MAX_LOV_UUID_COUNT);
+        lum_size = lov_mds_md_size(MAX_LOV_UUID_COUNT, LOV_MAGIC);
 
         if ((lum_file = (struct lov_user_md *)malloc(lum_size)) == NULL) {
                 fprintf(stderr, "unable to allocate memory for ioctl's");