Changeset c20aa06 in mainline for uspace/srv/fs/tmpfs/tmpfs_ops.c


Ignore:
Timestamp:
2009-06-03T19:01:53Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
80e3c69
Parents:
17fd1d4
Message:

implement VFS_OPEN_NODE and VFS_DEVICE (no device handle is returned)
implement no-op VFS_SYNC and VFS_CLOSE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/tmpfs/tmpfs_ops.c

    r17fd1d4 rc20aa06  
    597597}
    598598
     599void tmpfs_close(ipc_callid_t rid, ipc_call_t *request)
     600{
     601        ipc_answer_0(rid, EOK);
     602}
     603
    599604void tmpfs_destroy(ipc_callid_t rid, ipc_call_t *request)
    600605{
     
    619624}
    620625
     626void 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
     631void tmpfs_device(ipc_callid_t rid, ipc_call_t *request)
     632{
     633        ipc_answer_0(rid, ENOTSUP);
     634}
     635
     636void tmpfs_sync(ipc_callid_t rid, ipc_call_t *request)
     637{
     638        /* Dummy implementation */
     639        ipc_answer_0(rid, EOK);
     640}
     641
    621642/**
    622643 * @}
    623  */ 
     644 */
Note: See TracChangeset for help on using the changeset viewer.