summary refs log tree commit diff
path: root/p9
diff options
context:
space:
mode:
Diffstat (limited to 'p9')
-rw-r--r--p9/src/server.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/p9/src/server.rs b/p9/src/server.rs
index b8a026f..e1ffd16 100644
--- a/p9/src/server.rs
+++ b/p9/src/server.rs
@@ -44,7 +44,7 @@ const MAPPED_FLAGS: [(u32, i32); 10] = [
     (P9_NONBLOCK, libc::O_NONBLOCK),
     (P9_DSYNC, libc::O_DSYNC),
     (P9_FASYNC, 0), // Unsupported
-    (P9_DIRECT, libc::O_DIRECT),
+    (P9_DIRECT, 0), // Unsupported
     (P9_LARGEFILE, libc::O_LARGEFILE),
     (P9_DIRECTORY, libc::O_DIRECTORY),
     (P9_NOFOLLOW, libc::O_NOFOLLOW),