Browse Source

Prolly shouldn't flush on every write

pull/10/head
Fenrir 8 years ago
parent
commit
d28c7affd4
  1. 2
      src/services/fs.rs

2
src/services/fs.rs

@ -167,7 +167,7 @@ impl File { @@ -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 {

Loading…
Cancel
Save