diff --git a/samples/flushfs/flush_fs.go b/samples/flushfs/flush_fs.go index 4f48bc5..07e492f 100644 --- a/samples/flushfs/flush_fs.go +++ b/samples/flushfs/flush_fs.go @@ -17,6 +17,7 @@ package flushfs import ( "github.com/jacobsa/fuse" "github.com/jacobsa/fuse/fuseutil" + "golang.org/x/net/context" ) // Create a file system containing a single file named "foo". @@ -34,3 +35,11 @@ func NewFileSystem( type flushFS struct { fuseutil.NotImplementedFileSystem } + +func (fs *flushFS) Init( + ctx context.Context, + req *fuse.InitRequest) ( + resp *fuse.InitResponse, err error) { + resp = &fuse.InitResponse{} + return +}