Commit e06b2172 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Note TODO.

parent 96cf2839
......@@ -317,6 +317,7 @@ func (me *pathInode) ListXAttr(context *Context) (attrs []string, code Status) {
func (me *pathInode) Flush(file File, openFlags uint32, context *Context) (code Status) {
code = file.Flush()
// TODO - drop this. The filesystem should hook into Flush of the file itself.
if code.Ok() && openFlags&O_ANYWRITE != 0 {
// We only signal releases to the FS if the
// open could have changed things.
......
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