Changeset 4d21cf8 in mainline for uspace/srv/vfs/vfs_lookup.c


Ignore:
Timestamp:
2007-11-03T14:23:57Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
20614d0
Parents:
fa23560
Message:

VFS work.
Introduce the notion of VFS_PAIR which corresponds to a file system instance,
and VFS_TRIPLET, which corresponds to a file system node. Separate vfs_triplet_t
and vfs_node_t as the former one is the stateless counterpart of the latter.

File:
1 edited

Legend:

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

    rfa23560 r4d21cf8  
    6262 * @return              EOK on success or an error code from errno.h.
    6363 */
    64 int vfs_lookup_internal(char *path, size_t len, vfs_node_t *result,
    65     vfs_node_t *altroot)
     64int vfs_lookup_internal(char *path, size_t len, vfs_triplet_t *result,
     65    vfs_pair_t *altroot)
    6666{
    67         vfs_node_t *root;
     67        vfs_pair_t *root;
    6868
    6969        if (!len)
     
    7373                root = altroot;
    7474        else
    75                 root = &rootfs;
     75                root = (vfs_pair_t *) &rootfs;
    7676
    7777        if (!root->fs_handle)
Note: See TracChangeset for help on using the changeset viewer.