Changes between Version 8 and Version 9 of FSDesign
- Timestamp:
- 2009-07-23T19:36:41Z (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FSDesign
v8 v9 39 39 opened files, and in some special cases also VFS triplets (see below). 40 40 41 === Path arguments ===42 43 41 If the argument is a file path, VFS uses the ''vfs_lookup_internal()'' function to 44 42 translate the path into the so called lookup result represented by the ''vfs_lookup_res_t'' … … 59 57 VFS keeps information about each referenced file in an abstraction called VFS 60 58 node, for which there is the ''vfs_node_t'' type. Thus, a VFS node represents 61 some file which is referenced by VFS. 59 some file which is referenced by VFS. VFS nodes are the first class entities 60 in the VFS server, because in most operations, a VFS node must be instantiated. 62 61 63 62 The VFS server calls the ''vfs_node_get()'' function in order to get a VFS node … … 88 87 89 88 The example is simplified and does not show all the details (e.g. it omits all synchronization), but it shows the main idea. Note the trailing ''vfs_node_put()'' function which drops a reference to a VFS node. If the last reference is dropped from a node, ''vfs_node_put()'' removes it from the hash table and cleans it up. 89