Changes in uspace/srv/vfs/vfs_register.c [3e6a98c5:8a637a4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_register.c
r3e6a98c5 r8a637a4 113 113 void vfs_register(ipc_callid_t rid, ipc_call_t *request) 114 114 { 115 dprintf("Processing VFS_REGISTER request received from % p.\n",115 dprintf("Processing VFS_REGISTER request received from %zx.\n", 116 116 request->in_phone_hash); 117 117 … … 162 162 fibril_mutex_unlock(&fs_list_lock); 163 163 free(fs_info); 164 async_answer_0(rid, EEXIST S);164 async_answer_0(rid, EEXIST); 165 165 return; 166 166 } … … 196 196 ipc_callid_t callid; 197 197 if (!async_share_in_receive(&callid, &size)) { 198 dprintf("Unexpected call , method = %d\n", IPC_GET_IMETHOD(call));198 dprintf("Unexpected call\n"); 199 199 list_remove(&fs_info->fs_link); 200 200 fibril_mutex_unlock(&fs_list_lock); … … 210 210 */ 211 211 if (size != PLB_SIZE) { 212 dprintf("Client suggests wrong size of PFB, size = % d\n", size);212 dprintf("Client suggests wrong size of PFB, size = %zu\n", size); 213 213 list_remove(&fs_info->fs_link); 214 214 fibril_mutex_unlock(&fs_list_lock); … … 260 260 fibril_mutex_lock(&fs_list_lock); 261 261 262 list_foreach(fs_list, cur) { 263 fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link); 264 262 list_foreach(fs_list, fs_link, fs_info_t, fs) { 265 263 if (fs->fs_handle == handle) { 266 264 fibril_mutex_unlock(&fs_list_lock); … … 305 303 fibril_mutex_lock(&fs_list_lock); 306 304 307 list_foreach(fs_list, cur) { 308 fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link); 305 list_foreach(fs_list, fs_link, fs_info_t, fs) { 309 306 if (str_cmp(fs->vfs_info.name, name) == 0 && 310 307 instance == fs->vfs_info.instance) { … … 332 329 333 330 fibril_mutex_lock(&fs_list_lock); 334 list_foreach(fs_list, cur) { 335 fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link); 331 list_foreach(fs_list, fs_link, fs_info_t, fs) { 336 332 if (fs->fs_handle == handle) { 337 333 info = &fs->vfs_info;
Note:
See TracChangeset
for help on using the changeset viewer.