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(