Rev 4429 | Rev 4509 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4429 | Rev 4465 | ||
---|---|---|---|
Line 594... | Line 594... | ||
594 | nodep->size = size; |
594 | nodep->size = size; |
595 | nodep->data = newdata; |
595 | nodep->data = newdata; |
596 | ipc_answer_0(rid, EOK); |
596 | ipc_answer_0(rid, EOK); |
597 | } |
597 | } |
598 | 598 | ||
- | 599 | void tmpfs_close(ipc_callid_t rid, ipc_call_t *request) |
|
- | 600 | { |
|
- | 601 | ipc_answer_0(rid, EOK); |
|
- | 602 | } |
|
- | 603 | ||
599 | void tmpfs_destroy(ipc_callid_t rid, ipc_call_t *request) |
604 | void tmpfs_destroy(ipc_callid_t rid, ipc_call_t *request) |
600 | { |
605 | { |
601 | dev_handle_t dev_handle = (dev_handle_t)IPC_GET_ARG1(*request); |
606 | dev_handle_t dev_handle = (dev_handle_t)IPC_GET_ARG1(*request); |
602 | fs_index_t index = (fs_index_t)IPC_GET_ARG2(*request); |
607 | fs_index_t index = (fs_index_t)IPC_GET_ARG2(*request); |
603 | int rc; |
608 | int rc; |
Line 616... | Line 621... | ||
616 | nh_link); |
621 | nh_link); |
617 | rc = tmpfs_destroy_node(FS_NODE(nodep)); |
622 | rc = tmpfs_destroy_node(FS_NODE(nodep)); |
618 | ipc_answer_0(rid, rc); |
623 | ipc_answer_0(rid, rc); |
619 | } |
624 | } |
620 | 625 | ||
- | 626 | void tmpfs_open_node(ipc_callid_t rid, ipc_call_t *request) |
|
- | 627 | { |
|
- | 628 | libfs_open_node(&tmpfs_libfs_ops, tmpfs_reg.fs_handle, rid, request); |
|
- | 629 | } |
|
- | 630 | ||
- | 631 | void tmpfs_device(ipc_callid_t rid, ipc_call_t *request) |
|
- | 632 | { |
|
- | 633 | ipc_answer_0(rid, ENOTSUP); |
|
- | 634 | } |
|
- | 635 | ||
- | 636 | void tmpfs_sync(ipc_callid_t rid, ipc_call_t *request) |
|
- | 637 | { |
|
- | 638 | /* Dummy implementation */ |
|
- | 639 | ipc_answer_0(rid, EOK); |
|
- | 640 | } |
|
- | 641 | ||
621 | /** |
642 | /** |
622 | * @} |
643 | * @} |
623 | */ |
644 | */ |