From df671c90c209b87792942bd0becba06a6348ba5f Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Wed, 9 Sep 2015 09:53:11 +1000 Subject: [PATCH] Fixed FileSystem.StatFS support. --- fuseutil/file_system.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fuseutil/file_system.go b/fuseutil/file_system.go index 3a9b539..3f7d2b4 100644 --- a/fuseutil/file_system.go +++ b/fuseutil/file_system.go @@ -120,6 +120,9 @@ func (s *fileSystemServer) handleOp( default: err = fuse.ENOSYS + case *fuseops.StatFSOp: + err = s.fs.StatFS(ctx, typed) + case *fuseops.LookUpInodeOp: err = s.fs.LookUpInode(ctx, typed)