Commit b87740f7 authored by Aaron Jacobs's avatar Aaron Jacobs

flushFS.OpenFile.

parent 38e2aaff
......@@ -122,3 +122,21 @@ func (fs *flushFS) GetInodeAttributes(
return
}
}
func (fs *flushFS) OpenFile(
ctx context.Context,
req *fuse.OpenFileRequest) (
resp *fuse.OpenFileResponse, err error) {
resp = &fuse.OpenFileResponse{}
fs.mu.Lock()
defer fs.mu.Unlock()
// Sanity check.
if req.Inode != fooID {
err = fuse.ENOSYS
return
}
return
}
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