Commit a573f6e5 authored by Aaron Jacobs's avatar Aaron Jacobs

The root inode begins with a lookup count of 1.

Cf. jacobsa/fuse@36d7193638ab5086b80cf87fc16f3926a47135aa
parent ded5091c
......@@ -40,7 +40,7 @@ func NewFileSystem() (fs *ForgetFS) {
// Set up the actual file system.
impl := &fsImpl{
inodes: map[fuseops.InodeID]*inode{
cannedID_Root: &inode{},
cannedID_Root: &inode{lookupCount: 1},
cannedID_Foo: &inode{},
cannedID_Bar: &inode{},
},
......
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