Commit 106da11f authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Fix naming in example too.

parent e8c28231
...@@ -16,7 +16,7 @@ var _ = runtime.GOMAXPROCS ...@@ -16,7 +16,7 @@ var _ = runtime.GOMAXPROCS
var _ = log.Print var _ = log.Print
type PathPrintingFs struct { type PathPrintingFs struct {
fuse.WrappingPathFilesystem fuse.WrappingPathFileSystem
} }
func (me *PathPrintingFs) GetAttr(name string) (*fuse.Attr, fuse.Status) { func (me *PathPrintingFs) GetAttr(name string) (*fuse.Attr, fuse.Status) {
...@@ -35,15 +35,15 @@ func main() { ...@@ -35,15 +35,15 @@ func main() {
os.Exit(2) os.Exit(2)
} }
var fs fuse.PathFilesystem var fs fuse.PathFileSystem
orig := flag.Arg(1) orig := flag.Arg(1)
loopbackfs := fuse.NewLoopbackFileSystem(orig) loopbackfs := fuse.NewLoopbackFileSystem(orig)
fs = loopbackfs fs = loopbackfs
debugFs := new(fuse.PathFilesystemDebug) debugFs := new(fuse.PathFileSystemDebug)
debugFs.Original = fs debugFs.Original = fs
fs = debugFs fs = debugFs
timing := fuse.NewTimingPathFilesystem(fs) timing := fuse.NewTimingPathFileSystem(fs)
fs = timing fs = timing
var opts fuse.PathFileSystemConnectorOptions var opts fuse.PathFileSystemConnectorOptions
...@@ -53,7 +53,7 @@ func main() { ...@@ -53,7 +53,7 @@ func main() {
conn := fuse.NewPathFileSystemConnector(fs) conn := fuse.NewPathFileSystemConnector(fs)
debugFs.Connector = conn debugFs.Connector = conn
rawTiming := fuse.NewTimingRawFilesystem(conn) rawTiming := fuse.NewTimingRawFileSystem(conn)
conn.SetOptions(opts) conn.SetOptions(opts)
state := fuse.NewMountState(rawTiming) state := fuse.NewMountState(rawTiming)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment