Fix lookupCount handling errors:
* Introduce Inode.addLookupCount(), checking for underflow. * Increase lookupCount for mounts only once * If FsNode.Link() returns existing node, increase its lookup count. * Root node should have lookupCount = 1 at start. * If we get a Lookup for an existing node, increase its lookup count.
Showing
Please register or sign in to comment