From 32d8d1987954cff85ad58bb1c24b443ba7aeeb88 Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Tue, 24 Mar 2015 15:40:31 +1100 Subject: [PATCH] HelloFS.Init --- samples/hellofs/hello_fs.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/samples/hellofs/hello_fs.go b/samples/hellofs/hello_fs.go index 0677e3b..9d03627 100644 --- a/samples/hellofs/hello_fs.go +++ b/samples/hellofs/hello_fs.go @@ -137,12 +137,8 @@ func (fs *HelloFS) patchAttributes( attr.Crtime = now } -func (fs *HelloFS) Init( - ctx context.Context, - req *fuse.InitRequest) ( - resp *fuse.InitResponse, err error) { - resp = &fuse.InitResponse{} - return +func (fs *HelloFS) Init(op *fuseops.InitOp) { + op.Respond(nil) } func (fs *HelloFS) LookUpInode(