Commit 8e70889f authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

gofmt.

parent a4af95ae
......@@ -36,8 +36,8 @@ func setupFs(fs fuse.FileSystem) (string, func()) {
lc, lns := state.Latencies().Get("LOOKUP")
gc, gns := state.Latencies().Get("GETATTR")
fmt.Printf("GETATTR %dus/call n=%d, LOOKUP %dus/call n=%d\n",
gns / int64(1000 * lc), gc,
lns / int64(1000 * lc), lc)
gns/int64(1000*lc), gc,
lns/int64(1000*lc), lc)
err := state.Unmount()
if err != nil {
......
......@@ -15,7 +15,6 @@ import (
var _ = log.Println
func (c *FileSystemConnector) String() string {
if c.rootNode == nil || c.rootNode.mount == nil {
return "go-fuse:unmounted"
......
......@@ -94,7 +94,7 @@ func (ms *MountState) Mount(mountPoint string, opts *MountOptions) error {
}
name = strings.Replace(name[:l], ",", ";", -1)
}
optStrs = append(optStrs, "subtype=" + name)
optStrs = append(optStrs, "subtype="+name)
file, mp, err := mount(mountPoint, strings.Join(optStrs, ","))
if err != nil {
......
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