Whamcloud - gitweb
land v0.9.1 on HEAD, in preparation for a 1.0.x branch
[fs/lustre-release.git] / lustre / tests / open_delay.c
index de4815c..7200c3f 100644 (file)
@@ -2,23 +2,19 @@
 #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 <linux/lustre_user.h>
 
 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);
-        if (fd == -1) { 
+        if (fd == -1) {
                 printf("Error opening %s\n", argv[1]);
                 exit(1);
         }