The root inode begins with a lookup count of 1.

Cf. jacobsa/fuse@36d7193638
geesefs-0-30-9
Aaron Jacobs 2015-03-30 16:36:28 +11:00
parent ded5091c2e
commit a573f6e575
1 changed files with 1 additions and 1 deletions

View File

@ -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{},
},