Fixed a bug.

geesefs-0-30-9
Aaron Jacobs 2015-03-17 13:36:55 +11:00
parent 241b9447fc
commit 9ee0551b8c
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ func (fs *cachingFS) LookUpInode(
case "bar":
// Parent must be dir.
if req.Parent%numInodes != dirOffset {
if req.Parent == fuse.RootInodeID || req.Parent%numInodes != dirOffset {
err = fuse.ENOENT
return
}