Changeset 5f4cfb1e in mainline for uspace/srv/vfs/vfs.h


Ignore:
Timestamp:
2007-09-28T10:36:31Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
13125d3
Parents:
566d798d
Message:

VFS work.
Upon FS registration via VFS_REGISTER, the client is assigned a unique file
system handle. When generating the VFS_LOOKUP request in VFS, we also need to
pass the device handle. Add function to transform file system handle to phone.
Implement basic multi-call VFS request serialization on VFS side.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs.h

    r566d798d r5f4cfb1e  
    9393        link_t fs_link;
    9494        vfs_info_t vfs_info;
     95        int fs_handle;
     96        atomic_t phone_futex;   /**< Phone serializing futex. */
    9597        ipcarg_t phone;
    9698} fs_info_t;
     
    143145extern link_t plb_head;         /**< List of active PLB entries. */
    144146
     147extern int vfs_grab_phone(int);
     148extern void vfs_release_phone(int);
     149
    145150extern int vfs_lookup_internal(char *path, size_t len, vfs_node_t *result);
    146151
Note: See TracChangeset for help on using the changeset viewer.