From aec90d3dbbd97f998e8d26ccf123c22b8e8837b9 Mon Sep 17 00:00:00 2001 From: nikita Date: Sat, 18 Oct 2008 17:29:50 +0000 Subject: [PATCH] Add st_block checking to multistat.c. b=16450 --- lustre/ChangeLog | 5 +++++ lustre/tests/multifstat.c | 6 ++++++ 2 files changed, 11 insertions(+) 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; } -- 1.8.3.1