Changeset 4bda76b in mainline
- Timestamp:
- 2009-05-29T18:01:08Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d0a1d961
- Parents:
- 84adbf0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_ops.c
r84adbf0 r4bda76b 487 487 void vfs_open(ipc_callid_t rid, ipc_call_t *request) 488 488 { 489 async_serialize_start(); 490 489 491 if (!vfs_files_init()) { 490 492 ipc_answer_0(rid, ENOMEM); 493 async_serialize_end(); 491 494 return; 492 495 } … … 512 515 (lflag & (L_FILE | L_DIRECTORY)) == (L_FILE | L_DIRECTORY)) { 513 516 ipc_answer_0(rid, EINVAL); 517 async_serialize_end(); 514 518 return; 515 519 } … … 525 529 ipc_answer_0(callid, EINVAL); 526 530 ipc_answer_0(rid, EINVAL); 531 async_serialize_end(); 527 532 return; 528 533 } … … 531 536 ipc_answer_0(callid, ENOMEM); 532 537 ipc_answer_0(rid, ENOMEM); 538 async_serialize_end(); 533 539 return; 534 540 } … … 537 543 ipc_answer_0(rid, rc); 538 544 free(path); 545 async_serialize_end(); 539 546 return; 540 547 } … … 561 568 ipc_answer_0(rid, rc); 562 569 free(path); 570 async_serialize_end(); 563 571 return; 564 572 } … … 583 591 vfs_node_put(node); 584 592 ipc_answer_0(rid, rc); 593 async_serialize_end(); 585 594 return; 586 595 } … … 598 607 vfs_node_put(node); 599 608 ipc_answer_0(rid, fd); 609 async_serialize_end(); 600 610 return; 601 611 } … … 617 627 /* Success! Return the new file descriptor to the client. */ 618 628 ipc_answer_1(rid, EOK, fd); 629 async_serialize_end(); 619 630 } 620 631
Note:
See TracChangeset
for help on using the changeset viewer.