Fixed some more references to bazilfuse.
parent
dd005502f0
commit
aa32dd928b
|
@ -1,4 +1,4 @@
|
|||
package bazilfuse
|
||||
package fuseshim
|
||||
|
||||
import "time"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package bazilfuse
|
||||
package fuseshim
|
||||
|
||||
import "time"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package bazilfuse
|
||||
package fuseshim
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package bazilfuse
|
||||
package fuseshim
|
||||
|
||||
import (
|
||||
"bufio"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package bazilfuse
|
||||
package fuseshim
|
||||
|
||||
func localVolume(conf *mountConfig) error {
|
||||
return nil
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package bazilfuse
|
||||
package fuseshim
|
||||
|
||||
func localVolume(conf *mountConfig) error {
|
||||
return nil
|
||||
|
|
|
@ -30,9 +30,9 @@ import (
|
|||
|
||||
"golang.org/x/sys/unix"
|
||||
|
||||
"github.com/jacobsa/bazilfuse"
|
||||
"github.com/jacobsa/fuse/fsutil"
|
||||
"github.com/jacobsa/fuse/fusetesting"
|
||||
"github.com/jacobsa/fuse/internal/fuseshim"
|
||||
"github.com/jacobsa/fuse/samples"
|
||||
. "github.com/jacobsa/oglematchers"
|
||||
. "github.com/jacobsa/ogletest"
|
||||
|
@ -58,8 +58,8 @@ type flushFSTest struct {
|
|||
|
||||
func (t *flushFSTest) setUp(
|
||||
ti *TestInfo,
|
||||
flushErr bazilfuse.Errno,
|
||||
fsyncErr bazilfuse.Errno,
|
||||
flushErr fuseshim.Errno,
|
||||
fsyncErr fuseshim.Errno,
|
||||
readOnly bool) {
|
||||
var err error
|
||||
|
||||
|
@ -810,7 +810,7 @@ func init() { RegisterTestSuite(&FlushErrorTest{}) }
|
|||
|
||||
func (t *FlushErrorTest) SetUp(ti *TestInfo) {
|
||||
const noErr = 0
|
||||
t.flushFSTest.setUp(ti, bazilfuse.ENOENT, noErr, false)
|
||||
t.flushFSTest.setUp(ti, fuseshim.ENOENT, noErr, false)
|
||||
}
|
||||
|
||||
func (t *FlushErrorTest) Close() {
|
||||
|
@ -890,7 +890,7 @@ func init() { RegisterTestSuite(&FsyncErrorTest{}) }
|
|||
|
||||
func (t *FsyncErrorTest) SetUp(ti *TestInfo) {
|
||||
const noErr = 0
|
||||
t.flushFSTest.setUp(ti, noErr, bazilfuse.ENOENT, false)
|
||||
t.flushFSTest.setUp(ti, noErr, fuseshim.ENOENT, false)
|
||||
}
|
||||
|
||||
func (t *FsyncErrorTest) Fsync() {
|
||||
|
|
|
@ -24,8 +24,8 @@ import (
|
|||
"os"
|
||||
"runtime"
|
||||
|
||||
"github.com/jacobsa/bazilfuse"
|
||||
"github.com/jacobsa/fuse"
|
||||
"github.com/jacobsa/fuse/internal/fuseshim"
|
||||
"github.com/jacobsa/fuse/samples/flushfs"
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
@ -58,11 +58,11 @@ func makeFlushFS() (server fuse.Server, err error) {
|
|||
var fsyncErr error
|
||||
|
||||
if *fFlushError != 0 {
|
||||
flushErr = bazilfuse.Errno(*fFlushError)
|
||||
flushErr = fuseshim.Errno(*fFlushError)
|
||||
}
|
||||
|
||||
if *fFsyncError != 0 {
|
||||
fsyncErr = bazilfuse.Errno(*fFsyncError)
|
||||
fsyncErr = fuseshim.Errno(*fFsyncError)
|
||||
}
|
||||
|
||||
// Report flushes and fsyncs by writing the contents followed by a newline.
|
||||
|
|
Loading…
Reference in New Issue