Changes in uspace/srv/vfs/vfs_file.c [221ab41a:e2ab36f1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_file.c
r221ab41a re2ab36f1 44 44 #include <fibril_synch.h> 45 45 #include <adt/list.h> 46 #include <task.h> 46 47 #include "vfs.h" 47 48 … … 137 138 138 139 ipc_call_t answer; 139 aid_t msg = async_send_2(exch, VFS_OUT_CLOSE, file->node-> devmap_handle,140 aid_t msg = async_send_2(exch, VFS_OUT_CLOSE, file->node->service_id, 140 141 file->node->index, &answer); 141 142 … … 346 347 } 347 348 348 void vfs_pass_handle( sysarg_t donor_hash, sysarg_t acceptor_hash, int donor_fd)349 void vfs_pass_handle(task_id_t donor_id, task_id_t acceptor_id, int donor_fd) 349 350 { 350 351 vfs_client_data_t *donor_data = NULL; … … 355 356 int acceptor_fd; 356 357 357 acceptor_data = async_get_client_data_by_ hash(acceptor_hash);358 acceptor_data = async_get_client_data_by_id(acceptor_id); 358 359 if (!acceptor_data) 359 360 return; … … 365 366 bh->handle = -1; 366 367 367 donor_data = async_get_client_data_by_ hash(donor_hash);368 donor_data = async_get_client_data_by_id(donor_id); 368 369 if (!donor_data) 369 370 goto out; … … 402 403 403 404 if (donor_data) 404 async_put_client_data_by_ hash(donor_hash);405 async_put_client_data_by_id(donor_id); 405 406 if (acceptor_data) 406 async_put_client_data_by_ hash(acceptor_hash);407 async_put_client_data_by_id(acceptor_id); 407 408 if (donor_file) 408 409 _vfs_file_put(donor_data, donor_file);
Note:
See TracChangeset
for help on using the changeset viewer.