Commit 7b1a7ea0 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

LoopbackFile.Flush() always returns OK.

parent 3ec3a570
......@@ -112,6 +112,10 @@ func (me *LoopbackFile) Release() {
me.File.Close()
}
func (me *LoopbackFile) Flush() Status {
return OK
}
func (me *LoopbackFile) Fsync(flags int) (code Status) {
return ToStatus(syscall.Fsync(int(me.File.Fd())))
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment