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
bonsai test; please ignore
[fs/lustre-release.git]
/
lustre
/
tests
/
open_delay.c
diff --git
a/lustre/tests/open_delay.c
b/lustre/tests/open_delay.c
index
de4815c
..
e4f46dc
100644
(file)
--- a/
lustre/tests/open_delay.c
+++ b/
lustre/tests/open_delay.c
@@
-2,23
+2,19
@@
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
-#include <liblustre.h>
-#include <linux/obd.h>
-#include <linux/lustre_lib.h>
-#include <linux/lustre_lite.h>
-#include <linux/obd_lov.h>
+#include <lustre/lustre_user.h>
int main(int argc, char **argv)
{
int main(int argc, char **argv)
{
- int fd;
+ int fd;
- if (argc != 2) {
- printf("Usage %s <filename>\n", argv[0]);
+ if (argc != 2) {
+ printf("Usage %s <filename>\n", argv[0]);
exit(1);
}
fd = open(argv[1], O_RDONLY | O_LOV_DELAY_CREATE);
exit(1);
}
fd = open(argv[1], O_RDONLY | O_LOV_DELAY_CREATE);
- if (fd == -1) {
+ if (fd == -1) {
printf("Error opening %s\n", argv[1]);
exit(1);
}
printf("Error opening %s\n", argv[1]);
exit(1);
}