Fixed other tests on OS X.

geesefs-0-30-9
Aaron Jacobs 2015-09-09 22:55:39 +10:00
parent be680e1860
commit 57b4e8798f
7 changed files with 42 additions and 0 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {