diff --git a/samples/flushfs/flush_fs.go b/samples/flushfs/flush_fs.go index 07e492f..2d54a17 100644 --- a/samples/flushfs/flush_fs.go +++ b/samples/flushfs/flush_fs.go @@ -15,6 +15,8 @@ package flushfs import ( + "os" + "github.com/jacobsa/fuse" "github.com/jacobsa/fuse/fuseutil" "golang.org/x/net/context" @@ -34,6 +36,9 @@ func NewFileSystem( type flushFS struct { fuseutil.NotImplementedFileSystem + + mu sync.Mu + foo *os.File // GUARDED_BY(mu) } func (fs *flushFS) Init(