From 3a8a8855a1baa59d3026d3f9951bda02dc9e8b06 Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Fri, 27 Feb 2015 09:56:57 +1100 Subject: [PATCH] Fixed a crash. --- samples/hello_fs.go | 1 + 1 file changed, 1 insertion(+) 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 }