Changeset 3c11713 in mainline for uspace/srv/fs/tmpfs


Ignore:
Timestamp:
2010-01-25T21:55:09Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c888102
Parents:
6a4e972
Message:

Add dummy libfs unmount support and change all file systems to use it.
Add dummy VFS_OUT_UNMOUNTED support to all file systems.

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

Legend:

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

    r6a4e972 r3c11713  
    106106                        tmpfs_mount(callid, &call);
    107107                        break;
     108                case VFS_OUT_UNMOUNTED:
     109                        tmpfs_unmounted(callid, &call);
     110                        break;
     111                case VFS_OUT_UNMOUNT:
     112                        tmpfs_unmount(callid, &call);
     113                        break;
    108114                case VFS_OUT_LOOKUP:
    109115                        tmpfs_lookup(callid, &call);
  • uspace/srv/fs/tmpfs/tmpfs.h

    r6a4e972 r3c11713  
    8383extern void tmpfs_mounted(ipc_callid_t, ipc_call_t *);
    8484extern void tmpfs_mount(ipc_callid_t, ipc_call_t *);
     85extern void tmpfs_unmounted(ipc_callid_t, ipc_call_t *);
     86extern void tmpfs_unmount(ipc_callid_t, ipc_call_t *);
    8587extern void tmpfs_lookup(ipc_callid_t, ipc_call_t *);
    8688extern void tmpfs_read(ipc_callid_t, ipc_call_t *);
  • uspace/srv/fs/tmpfs/tmpfs_ops.c

    r6a4e972 r3c11713  
    449449}
    450450
     451void tmpfs_unmounted(ipc_callid_t rid, ipc_call_t *request)
     452{
     453        ipc_answer_0(rid, ENOTSUP);
     454}
     455
     456void tmpfs_unmount(ipc_callid_t rid, ipc_call_t *request)
     457{
     458        libfs_unmount(&tmpfs_libfs_ops, rid, request);
     459}
     460
    451461void tmpfs_lookup(ipc_callid_t rid, ipc_call_t *request)
    452462{
Note: See TracChangeset for help on using the changeset viewer.