- 08 Sep, 2011 16 commits
-
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
Now, nodeId and lookupCount are exclusively used for kernel communication, and a nodeId may change during the lifetime of the Inode if the same node is forgotten and looked up again.
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
treeLock.
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
- 07 Sep, 2011 21 commits
-
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
FsNode has no Inode. If not (in case of hardlink), increase the lookupCount for the inode.
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
To use hard-links, the FileSystem should return consistent FileInfo.Ino data from the GetAttr call.
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
* Always take R/W lock * If the child exists, do addLookupCount() before GetAttr, so the child can't be cleaned up during the unprotected GetAttr() call.
-
- 06 Sep, 2011 3 commits
-
-
Han-Wen Nienhuys authored
errors.
-
Han-Wen Nienhuys authored
* 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.
-
Han-Wen Nienhuys authored
-