Changeset 5f4cfb1e in mainline for uspace/srv/fs
- Timestamp:
- 2007-09-28T10:36:31Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 13125d3
- Parents:
- 566d798d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat.c
r566d798d r5f4cfb1e 43 43 #include <unistd.h> 44 44 #include <stdio.h> 45 #include <as.h> >45 #include <as.h> 46 46 #include "../../vfs/vfs.h" 47 47 … … 65 65 66 66 uint8_t *plb_ro = NULL; 67 68 int fs_handle = 0; 67 69 68 70 /** … … 156 158 * Request sharing the Path Lookup Buffer with VFS. 157 159 */ 158 rc = ipc_call_sync_3(vfs_phone, IPC_M_AS_AREA_RECV, plb_ro, PLB_SIZE, 0,159 NULL, NULL, NULL);160 rc = ipc_call_sync_3(vfs_phone, IPC_M_AS_AREA_RECV, (ipcarg_t) plb_ro, 161 PLB_SIZE, 0, NULL, NULL, NULL); 160 162 if (rc) { 161 163 async_wait_for(req, NULL); … … 164 166 165 167 /* 168 * Pick up the answer for the request to the VFS_REQUEST call. 169 */ 170 async_wait_for(req, NULL); 171 fs_handle = (int) IPC_GET_ARG1(answer); 172 dprintf("FAT filesystem registered, fs_handle=%d.\n", fs_handle); 173 174 /* 166 175 * Create a connection fibril to handle the callback connection. 167 176 */ … … 173 182 */ 174 183 async_set_client_connection(fat_connection); 175 176 /*177 * Pick up the answer for the request to the VFS_REQUEST call.178 */179 async_wait_for(req, NULL);180 dprintf("FAT filesystem registered.\n");181 184 182 185 async_create_manager();
Note:
See TracChangeset
for help on using the changeset viewer.