Commit 64bc9721 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fuse/nodefs: Add StatFS to MemNodeFS

parent e6104b7a
......@@ -92,6 +92,10 @@ func (n *memNode) Readlink(c *fuse.Context) ([]byte, fuse.Status) {
return []byte(n.link), fuse.OK
}
func (n *memNode) StatFs() (*fuse.StatfsOut) {
return &fuse.StatfsOut{}
}
func (n *memNode) Mkdir(name string, mode uint32, context *fuse.Context) (newNode Node, code fuse.Status) {
ch := n.newNode(true)
ch.info.Mode = mode | fuse.S_IFDIR
......
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