Changeset f2ec8c8 in mainline for uspace/srv/vfs/vfs_ops.c
- Timestamp:
- 2008-03-11T20:33:53Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 923c39e
- Parents:
- 8ad8e49
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_ops.c
r8ad8e49 rf2ec8c8 54 54 55 55 /* Forward declarations of static functions. */ 56 static int vfs_truncate_internal( int, int, unsigned long, size_t);56 static int vfs_truncate_internal(fs_handle_t, dev_handle_t, fs_index_t, size_t); 57 57 58 58 /** … … 69 69 }; 70 70 71 static int lookup_root(int fs_handle, int dev_handle, vfs_lookup_res_t *result) 71 static int 72 lookup_root(fs_handle_t fs_handle, dev_handle_t dev_handle, 73 vfs_lookup_res_t *result) 72 74 { 73 75 vfs_pair_t altroot = { … … 81 83 void vfs_mount(ipc_callid_t rid, ipc_call_t *request) 82 84 { 83 int dev_handle;85 dev_handle_t dev_handle; 84 86 vfs_node_t *mp_node = NULL; 85 87 … … 89 91 * in the request. 90 92 */ 91 dev_handle = IPC_GET_ARG1(*request);93 dev_handle = (dev_handle_t)IPC_GET_ARG1(*request); 92 94 93 95 /* … … 128 130 * This will also give us its file system handle. 129 131 */ 130 int fs_handle = fs_name_to_handle(fs_name, true);132 fs_handle_t fs_handle = fs_name_to_handle(fs_name, true); 131 133 if (!fs_handle) { 132 134 ipc_answer_0(rid, ENOENT); … … 572 574 } 573 575 574 int vfs_truncate_internal(int fs_handle, int dev_handle, unsigned long index, 575 size_t size) 576 int 577 vfs_truncate_internal(fs_handle_t fs_handle, dev_handle_t dev_handle, 578 fs_index_t index, size_t size) 576 579 { 577 580 ipcarg_t rc;
Note:
See TracChangeset
for help on using the changeset viewer.