Whamcloud - gitweb
Allow a file to be opened with our very own O_LOV_DELAY_CREATE.
[fs/lustre-release.git] / lustre / tests / openfile.c
index d494b4a..af5e863 100644 (file)
@@ -17,6 +17,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <linux/lustre_user.h>
 
 typedef struct flag_mapping {
        const char *string;
@@ -39,6 +40,7 @@ FLAG_MAPPING flag_table[] = {
        {"O_LARGEFILE", O_LARGEFILE},
        {"O_DIRECTORY", O_DIRECTORY},
        {"O_NOFOLLOW", O_NOFOLLOW},
+       {"O_LOV_DELAY_CREATE", O_LOV_DELAY_CREATE},
        {"", -1}
 };