From: nikita Date: Sat, 18 Oct 2008 17:29:50 +0000 (+0000) Subject: Add st_block checking to multistat.c. X-Git-Tag: v1_9_90~53 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=aec90d3dbbd97f998e8d26ccf123c22b8e8837b9;p=fs%2Flustre-release.git Add st_block checking to multistat.c. b=16450 --- diff --git a/lustre/ChangeLog b/lustre/ChangeLog index d4b22d0..ce82ea1 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -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. diff --git a/lustre/tests/multifstat.c b/lustre/tests/multifstat.c index e169073..c305acc 100644 --- a/lustre/tests/multifstat.c +++ b/lustre/tests/multifstat.c @@ -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; }