Changeset fdb7795 in mainline for uspace/srv/vfs
- Timestamp:
- 2008-02-25T22:22:57Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6c441cf8
- Parents:
- 07e01e6
- Location:
- uspace/srv/vfs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs.h
r07e01e6 rfdb7795 58 58 typedef enum { 59 59 VFS_LOOKUP = VFS_LAST_CMN, 60 VFS_ FREE,60 VFS_DESTROY, 61 61 VFS_LAST_CLNT, /* keep this the last member of this enum */ 62 62 } vfs_request_clnt_t; -
uspace/srv/vfs/vfs_node.c
r07e01e6 rfdb7795 132 132 int phone = vfs_grab_phone(node->fs_handle); 133 133 ipcarg_t rc; 134 rc = async_req_2_0(phone, VFS_ FREE, (ipcarg_t)node->dev_handle,135 (ipcarg_t)node-> index);134 rc = async_req_2_0(phone, VFS_DESTROY, 135 (ipcarg_t)node->dev_handle, (ipcarg_t)node->index); 136 136 assert(rc == EOK); 137 137 vfs_release_phone(phone); -
uspace/srv/vfs/vfs_ops.c
r07e01e6 rfdb7795 678 678 * The name has already been unlinked by vfs_lookup_internal(). 679 679 * We have to get and put the VFS node to ensure that it is 680 * VFS_ FREE'd after the last reference to it is dropped.680 * VFS_DESTROY'ed after the last reference to it is dropped. 681 681 */ 682 682 vfs_node_t *node = vfs_node_get(&lr);
Note:
See TracChangeset
for help on using the changeset viewer.