diff --git a/samples/hello_fs.go b/samples/hello_fs.go index b2bee9f..a15dce2 100644 --- a/samples/hello_fs.go +++ b/samples/hello_fs.go @@ -28,6 +28,7 @@ func (fs *HelloFS) OpenDir( req *fuse.OpenDirRequest) (resp *fuse.OpenDirResponse, err error) { // We always allow opening the root directory. if req.Inode == fuse.RootInodeID { + resp = &fuse.OpenDirResponse{} return }