Commit 3a8a8855 authored by Aaron Jacobs's avatar Aaron Jacobs

Fixed a crash.

parent 71a91b98
......@@ -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
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment