Changed the contents of flushFS.
parent
1c062d495e
commit
604281b157
|
@ -15,6 +15,8 @@
|
||||||
package flushfs
|
package flushfs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"os"
|
||||||
|
|
||||||
"github.com/jacobsa/fuse"
|
"github.com/jacobsa/fuse"
|
||||||
"github.com/jacobsa/fuse/fuseutil"
|
"github.com/jacobsa/fuse/fuseutil"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
@ -34,6 +36,9 @@ func NewFileSystem(
|
||||||
|
|
||||||
type flushFS struct {
|
type flushFS struct {
|
||||||
fuseutil.NotImplementedFileSystem
|
fuseutil.NotImplementedFileSystem
|
||||||
|
|
||||||
|
mu sync.Mu
|
||||||
|
foo *os.File // GUARDED_BY(mu)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (fs *flushFS) Init(
|
func (fs *flushFS) Init(
|
||||||
|
|
Loading…
Reference in New Issue