add open release, refactor

This commit is contained in:
chrislu
2022-02-13 19:14:34 -08:00
parent 072f923a9b
commit bb9919b07a
8 changed files with 242 additions and 126 deletions

View File

@@ -37,7 +37,6 @@ func (i *InodeToPath) Lookup(path util.FullPath) uint64 {
i.nextInodeId++
i.path2inode[path] = inode
i.inode2path[inode] = &InodeEntry{path, 1}
println("add", path, inode)
} else {
i.inode2path[inode].nlookup++
}