From d28c7affd45f804c11b48a415b8532064ae9d10c Mon Sep 17 00:00:00 2001 From: Fenrir Date: Fri, 23 Sep 2016 13:18:14 -0700 Subject: [PATCH] Prolly shouldn't flush on every write --- src/services/fs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/fs.rs b/src/services/fs.rs index 8a0829e..6fbdb62 100644 --- a/src/services/fs.rs +++ b/src/services/fs.rs @@ -167,7 +167,7 @@ impl File { self.offset, buf.as_ptr() as _, buf.len() as u32, - FS_WRITE_FLUSH | FS_WRITE_UPDATE_TIME + FS_WRITE_UPDATE_TIME ); self.offset += n_written as u64; if r < 0 {