Commit b216a171 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Run Gofmt.

parent f738f096
......@@ -7,8 +7,8 @@ HIGHLIGHTS
filesystem benchmarks, using the gc compiler. For many real world
applications, the difference will be negligible.
* Supports in-process mounting of different PathFileSystems onto each
other.
* Supports in-process mounting of different PathFileSystems onto
subdirectories of the FUSE mount.
* Includes two fleshed out examples, zipfs and unionfs.
......@@ -49,7 +49,7 @@ EXAMPLES
* union/autounionfs.go: creates UnionFs mounts automatically based on
existence of READONLY symlinks.
Tested on:
- x86 32bits (Fedora 14).
......
......@@ -35,4 +35,3 @@ func TestDummyFile(t *testing.T) {
_ = fileDir
_ = filePtr
}
......@@ -82,7 +82,7 @@ const (
// TODO - get this from a canonical place.
PAGESIZE = 4096
O_ANYWRITE = uint32(os.O_WRONLY|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_TRUNC)
O_ANYWRITE = uint32(os.O_WRONLY | os.O_RDWR | os.O_APPEND | os.O_CREATE | os.O_TRUNC)
)
type Status int32
......
......@@ -73,7 +73,7 @@ func TestMultiZipFs(t *testing.T) {
err = f.Close()
CheckSuccess(err)
fi, err = os.Lstat(mountPoint + "/zipmount")
fi, err = os.Lstat(mountPoint + "/zipmount")
if !fi.IsDirectory() {
t.Errorf("Expect directory at /zipmount")
}
......
......@@ -136,7 +136,7 @@ func (me *ZipFileFuse) GetAttr(name string) (*fuse.Attr, fuse.Status) {
}
func (me *ZipFileFuse) Open(name string, flags uint32) (file fuse.RawFuseFile, code fuse.Status) {
if flags & fuse.O_ANYWRITE != 0 {
if flags&fuse.O_ANYWRITE != 0 {
return nil, fuse.EPERM
}
......
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