Whamcloud - gitweb
Add st_block checking to multistat.c.
authornikita <nikita>
Sat, 18 Oct 2008 17:29:50 +0000 (17:29 +0000)
committernikita <nikita>
Sat, 18 Oct 2008 17:29:50 +0000 (17:29 +0000)
b=16450

lustre/ChangeLog
lustre/tests/multifstat.c

index d4b22d0..ce82ea1 100644 (file)
@@ -1665,6 +1665,11 @@ Bugzilla   : 16450
 Description: Kill mdd_lov_destroy()
 Details    : Remove unused mdd code.
 
+Severity   : minor
+Bugzilla   : 16450
+Description: Add st_block checking to multistat.c.
+Details    : Add st_block checking to multistat.c.
+
 --------------------------------------------------------------------------------
 
 2007-08-10         Cluster File Systems, Inc. <info@clusterfs.com>
index e169073..c305acc 100644 (file)
@@ -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;
 }