Whamcloud - gitweb
b=19215
[fs/lustre-release.git] / lustre / tests / multifstat.c
index e169073..91c0d73 100644 (file)
@@ -84,7 +84,7 @@ int main(int argc, char **argv)
 
         if ( st1.st_size != st2.st_size ) {
                 printf("Sizes don't match %lu, %lu\n",
-                       (unsigned long)st1.st_size, 
+                       (unsigned long)st1.st_size,
                       (unsigned long)st2.st_size);
                 return 1;
         }
@@ -95,5 +95,11 @@ int main(int argc, char **argv)
                 return 1;
         }
 
+        if ( st1.st_blocks != st2.st_blocks ) {
+                printf("Blocks don't match %ld, %ld\n",
+                       (long)st1.st_blocks, (long)st2.st_blocks);
+                return 1;
+        }
+
         return 0;
 }