Rev 4420 | Rev 4537 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4420 | Rev 4439 | ||
|---|---|---|---|
| Line 125... | Line 125... | ||
| 125 | void fs_node_initialize(fs_node_t *fn) |
125 | void fs_node_initialize(fs_node_t *fn) |
| 126 | { |
126 | { |
| 127 | memset(fn, 0, sizeof(fs_node_t)); |
127 | memset(fn, 0, sizeof(fs_node_t)); |
| 128 | } |
128 | } |
| 129 | 129 | ||
| 130 | void libfs_mount(libfs_ops_t *ops, ipc_callid_t rid, ipc_call_t *request) |
130 | void libfs_mount(libfs_ops_t *ops, fs_handle_t fs_handle, ipc_callid_t rid, |
| - | 131 | ipc_call_t *request) |
|
| 131 | { |
132 | { |
| 132 | dev_handle_t mp_dev_handle = (dev_handle_t) IPC_GET_ARG1(*request); |
133 | dev_handle_t mp_dev_handle = (dev_handle_t) IPC_GET_ARG1(*request); |
| 133 | fs_index_t mp_fs_index = (fs_index_t) IPC_GET_ARG2(*request); |
134 | fs_index_t mp_fs_index = (fs_index_t) IPC_GET_ARG2(*request); |
| 134 | fs_handle_t mr_fs_handle = (fs_handle_t) IPC_GET_ARG3(*request); |
135 | fs_handle_t mr_fs_handle = (fs_handle_t) IPC_GET_ARG3(*request); |
| 135 | dev_handle_t mr_dev_handle = (dev_handle_t) IPC_GET_ARG4(*request); |
136 | dev_handle_t mr_dev_handle = (dev_handle_t) IPC_GET_ARG4(*request); |
| Line 196... | Line 197... | ||
| 196 | fn->mp_data.phone = mountee_phone; |
197 | fn->mp_data.phone = mountee_phone; |
| 197 | } |
198 | } |
| 198 | /* |
199 | /* |
| 199 | * Do not release the FS node so that it stays in memory. |
200 | * Do not release the FS node so that it stays in memory. |
| 200 | */ |
201 | */ |
| - | 202 | ipc_answer_3(rid, rc, IPC_GET_ARG1(answer), IPC_GET_ARG2(answer), |
|
| 201 | ipc_answer_0(rid, rc); |
203 | IPC_GET_ARG3(answer)); |
| 202 | } |
204 | } |
| 203 | 205 | ||
| 204 | /** Lookup VFS triplet by name in the file system name space. |
206 | /** Lookup VFS triplet by name in the file system name space. |
| 205 | * |
207 | * |
| 206 | * The path passed in the PLB must be in the canonical file system path format |
208 | * The path passed in the PLB must be in the canonical file system path format |