From 3dcd942c33dd06e95eaebd15f41817c255e6407b Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Tue, 24 Mar 2015 15:49:26 +1100 Subject: [PATCH] Added support for Init in hellofs. --- samples/hellofs/hello_fs.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/samples/hellofs/hello_fs.go b/samples/hellofs/hello_fs.go index 60e6300..0297d23 100644 --- a/samples/hellofs/hello_fs.go +++ b/samples/hellofs/hello_fs.go @@ -57,6 +57,9 @@ func (fs *helloFS) serve(c *fuse.Connection) { } switch typed := op.(type) { + case *fuseops.InitOp: + fs.init(typed) + default: typed.Respond(fuse.ENOSYS) }