Fixed other tests on OS X.
parent
be680e1860
commit
57b4e8798f
|
@ -261,6 +261,12 @@ func (fs *cachingFS) SetKeepCache(keep bool) {
|
|||
// FileSystem methods
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
func (fs *cachingFS) StatFS(
|
||||
ctx context.Context,
|
||||
op *fuseops.StatFSOp) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
// LOCKS_EXCLUDED(fs.mu)
|
||||
func (fs *cachingFS) LookUpInode(
|
||||
ctx context.Context,
|
||||
|
|
|
@ -119,6 +119,12 @@ func (fs *errorFS) GetInodeAttributes(
|
|||
return
|
||||
}
|
||||
|
||||
func (fs *errorFS) StatFS(
|
||||
ctx context.Context,
|
||||
op *fuseops.StatFSOp) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
// LOCKS_EXCLUDED(fs.mu)
|
||||
func (fs *errorFS) LookUpInode(
|
||||
ctx context.Context,
|
||||
|
|
|
@ -117,6 +117,12 @@ func (fs *flushFS) getAttributes(id fuseops.InodeID) (
|
|||
// FileSystem methods
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
func (fs *flushFS) StatFS(
|
||||
ctx context.Context,
|
||||
op *fuseops.StatFSOp) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (fs *flushFS) LookUpInode(
|
||||
ctx context.Context,
|
||||
op *fuseops.LookUpInodeOp) (err error) {
|
||||
|
|
|
@ -224,6 +224,12 @@ func (fs *fsImpl) findInodeByID(id fuseops.InodeID) (in *inode) {
|
|||
// FileSystem methods
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
func (fs *fsImpl) StatFS(
|
||||
ctx context.Context,
|
||||
op *fuseops.StatFSOp) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (fs *fsImpl) LookUpInode(
|
||||
ctx context.Context,
|
||||
op *fuseops.LookUpInodeOp) (err error) {
|
||||
|
|
|
@ -149,6 +149,12 @@ func (fs *helloFS) patchAttributes(
|
|||
attr.Crtime = now
|
||||
}
|
||||
|
||||
func (fs *helloFS) StatFS(
|
||||
ctx context.Context,
|
||||
op *fuseops.StatFSOp) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (fs *helloFS) LookUpInode(
|
||||
ctx context.Context,
|
||||
op *fuseops.LookUpInodeOp) (err error) {
|
||||
|
|
|
@ -100,6 +100,12 @@ func (fs *InterruptFS) EnableFlushBlocking() {
|
|||
// FileSystem methods
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
func (fs *InterruptFS) StatFS(
|
||||
ctx context.Context,
|
||||
op *fuseops.StatFSOp) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (fs *InterruptFS) LookUpInode(
|
||||
ctx context.Context,
|
||||
op *fuseops.LookUpInodeOp) (err error) {
|
||||
|
|
|
@ -184,6 +184,12 @@ func (fs *memFS) deallocateInode(id fuseops.InodeID) {
|
|||
// FileSystem methods
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
func (fs *memFS) StatFS(
|
||||
ctx context.Context,
|
||||
op *fuseops.StatFSOp) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (fs *memFS) LookUpInode(
|
||||
ctx context.Context,
|
||||
op *fuseops.LookUpInodeOp) (err error) {
|
||||
|
|
Loading…
Reference in New Issue