Changeset 50461f2 in mainline
- Timestamp:
- 2009-06-01T16:56:57Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 49f78c7
- Parents:
- d0a1d961
- Location:
- uspace/srv/vfs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_lookup.c
rd0a1d961 r50461f2 164 164 &answer); 165 165 vfs_release_phone(phone); 166 166 167 async_serialize_start(); 167 168 ipcarg_t rc; 168 /* XXX shouldn't we disable fibril preemption here? */169 169 async_wait_for(req, &rc); 170 170 async_serialize_end(); 171 171 172 futex_down(&plb_futex); 172 173 list_remove(&entry.plb_link); -
uspace/srv/vfs/vfs_ops.c
rd0a1d961 r50461f2 487 487 void vfs_open(ipc_callid_t rid, ipc_call_t *request) 488 488 { 489 async_serialize_start();490 491 489 if (!vfs_files_init()) { 492 490 ipc_answer_0(rid, ENOMEM); 493 async_serialize_end();494 491 return; 495 492 } … … 515 512 (lflag & (L_FILE | L_DIRECTORY)) == (L_FILE | L_DIRECTORY)) { 516 513 ipc_answer_0(rid, EINVAL); 517 async_serialize_end();518 514 return; 519 515 } … … 529 525 ipc_answer_0(callid, EINVAL); 530 526 ipc_answer_0(rid, EINVAL); 531 async_serialize_end();532 527 return; 533 528 } … … 536 531 ipc_answer_0(callid, ENOMEM); 537 532 ipc_answer_0(rid, ENOMEM); 538 async_serialize_end();539 533 return; 540 534 } … … 543 537 ipc_answer_0(rid, rc); 544 538 free(path); 545 async_serialize_end();546 539 return; 547 540 } … … 568 561 ipc_answer_0(rid, rc); 569 562 free(path); 570 async_serialize_end();571 563 return; 572 564 } … … 591 583 vfs_node_put(node); 592 584 ipc_answer_0(rid, rc); 593 async_serialize_end();594 585 return; 595 586 } … … 607 598 vfs_node_put(node); 608 599 ipc_answer_0(rid, fd); 609 async_serialize_end();610 600 return; 611 601 } … … 627 617 /* Success! Return the new file descriptor to the client. */ 628 618 ipc_answer_1(rid, EOK, fd); 629 async_serialize_end();630 619 } 631 620
Note:
See TracChangeset
for help on using the changeset viewer.