Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-1088 ldlm: dump certain amount of locks for ldlm resouce
[fs/lustre-release.git]
/
lustre
/
tests
/
multifstat.c
diff --git
a/lustre/tests/multifstat.c
b/lustre/tests/multifstat.c
index
e169073
..
d65e3b3
100644
(file)
--- a/
lustre/tests/multifstat.c
+++ b/
lustre/tests/multifstat.c
@@
-1,6
+1,4
@@
-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
+/*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@
-26,7
+24,7
@@
* GPL HEADER END
*/
/*
* GPL HEADER END
*/
/*
- * Copyright
2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright
(c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*/
/*
* Use is subject to license terms.
*/
/*
@@
-84,7
+82,7
@@
int main(int argc, char **argv)
if ( st1.st_size != st2.st_size ) {
printf("Sizes don't match %lu, %lu\n",
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;
}
(unsigned long)st2.st_size);
return 1;
}
@@
-95,5
+93,11
@@
int main(int argc, char **argv)
return 1;
}
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;
}
return 0;
}