Changeset 05b9912 in mainline for uspace/srv/vfs/vfs_node.c


Ignore:
Timestamp:
2009-06-03T18:54:49Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
17fd1d4
Parents:
215abc1
Message:

VFS rewrite:

  • add new VFS methods
    • VFS_NODE for getting VFS node for a file descriptor
    • VFS_OPEN_NODE for opening an i-node directly
    • VFS_DEVICE for getting the underlying device of a file (if any)
    • VFS_SYNC for syncing buffers
  • L_OPEN flag is set to underlying filesystem in VFS_LOOKUP when opening a file to support initialization (if any)
  • VFS_CLOSE is now propagated to underlying filesystem to support cleanup (if any)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_node.c

    r215abc1 r05b9912  
    181181                hash_table_insert(&nodes, key, &node->nh_link);
    182182        } else {
    183                 node = hash_table_get_instance(tmp, vfs_node_t, nh_link);       
     183                node = hash_table_get_instance(tmp, vfs_node_t, nh_link);
    184184                if (node->type == VFS_NODE_UNKNOWN &&
    185185                    result->type != VFS_NODE_UNKNOWN) {
     
    234234/**
    235235 * @}
    236  */ 
     236 */
Note: See TracChangeset for help on using the changeset viewer.