Changeset e700970 in mainline


Ignore:
Timestamp:
2011-04-16T14:02:41Z (14 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6fcc03a
Parents:
6fc5262
Message:

Add mfs_close() and mfs_open_node() functions

Location:
uspace/srv/fs/minixfs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/minixfs/mfs.c

    r6fc5262 re700970  
    113113                        mfs_read(callid, &call);
    114114                        break;
     115                case VFS_OUT_OPEN_NODE:
     116                        mfs_open_node(callid, &call);
     117                        break;
     118                case VFS_OUT_CLOSE:
     119                        mfs_close(callid, &call);
     120                        break;
     121                case VFS_OUT_WRITE:
     122                        mfsdebug("write()\n");
     123                        break;
    115124                default:
    116125                        async_answer_0(callid, ENOTSUP);
  • uspace/srv/fs/minixfs/mfs.h

    r6fc5262 re700970  
    153153
    154154extern void mfs_stat(ipc_callid_t rid, ipc_call_t *request);
     155extern void mfs_close(ipc_callid_t rid, ipc_call_t *request);
     156extern void mfs_open_node(ipc_callid_t rid, ipc_call_t *request);
    155157
    156158extern void
  • uspace/srv/fs/minixfs/mfs_ops.c

    r6fc5262 re700970  
    761761}
    762762
     763void
     764mfs_close(ipc_callid_t rid, ipc_call_t *request)
     765{
     766        async_answer_0(rid, EOK);
     767}
     768
     769void
     770mfs_open_node(ipc_callid_t rid, ipc_call_t *request)
     771{
     772        libfs_open_node(&mfs_libfs_ops, mfs_reg.fs_handle, rid, request);
     773}
     774
    763775/**
    764776 * @}
Note: See TracChangeset for help on using the changeset viewer.