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