Changeset cad9c72 in mainline for uspace/srv/fs/fat/fat.c


Ignore:
Timestamp:
2008-01-08T21:58:58Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
eb27ce5a
Parents:
861e7d1
Message:

Make a distinction between VFS operations that are common to VFS and FS
implementations, operations that are VFS only and operations that are FS
implementations only.

File:
1 edited

Legend:

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

    r861e7d1 rcad9c72  
    11/*
    22 * Copyright (c) 2006 Martin Decky
    3  * Copyright (c) 2007 Jakub Jermar
     3 * Copyright (c) 2008 Jakub Jermar
    44 * All rights reserved.
    55 *
     
    5151        .name = "fat",
    5252        .ops = {
    53                 [IPC_METHOD_TO_VFS_OP(VFS_REGISTER)] = VFS_OP_DEFINED,
    54                 [IPC_METHOD_TO_VFS_OP(VFS_MOUNT)] = VFS_OP_DEFINED,
    55                 [IPC_METHOD_TO_VFS_OP(VFS_UNMOUNT)] = VFS_OP_DEFINED,
    5653                [IPC_METHOD_TO_VFS_OP(VFS_LOOKUP)] = VFS_OP_DEFINED,
    5754                [IPC_METHOD_TO_VFS_OP(VFS_OPEN)] = VFS_OP_DEFINED,
    58                 [IPC_METHOD_TO_VFS_OP(VFS_CREATE)] = VFS_OP_DEFINED,
    5955                [IPC_METHOD_TO_VFS_OP(VFS_CLOSE)] = VFS_OP_DEFINED,
    6056                [IPC_METHOD_TO_VFS_OP(VFS_READ)] = VFS_OP_DEFINED,
    6157                [IPC_METHOD_TO_VFS_OP(VFS_WRITE)] = VFS_OP_NULL,
    62                 [IPC_METHOD_TO_VFS_OP(VFS_SEEK)] = VFS_OP_DEFAULT
     58                [IPC_METHOD_TO_VFS_OP(VFS_TRUNCATE)] = VFS_OP_NULL,
     59                [IPC_METHOD_TO_VFS_OP(VFS_RENAME)] = VFS_OP_NULL,
     60                [IPC_METHOD_TO_VFS_OP(VFS_OPENDIR)] = VFS_OP_NULL,
     61                [IPC_METHOD_TO_VFS_OP(VFS_READDIR)] = VFS_OP_NULL,
     62                [IPC_METHOD_TO_VFS_OP(VFS_CLOSEDIR)] = VFS_OP_NULL,
     63                [IPC_METHOD_TO_VFS_OP(VFS_UNLINK)] = VFS_OP_NULL,
     64                [IPC_METHOD_TO_VFS_OP(VFS_MOUNT)] = VFS_OP_NULL,
     65                [IPC_METHOD_TO_VFS_OP(VFS_UNMOUNT)] = VFS_OP_NULL,
    6366        }
    6467};
     
    102105                callid = async_get_call(&call);
    103106                switch  (IPC_GET_METHOD(call)) {
    104                 case VFS_REGISTER:
    105                         ipc_answer_0(callid, EOK);
    106                         break;
    107107                case VFS_LOOKUP:
    108108                        fat_lookup(callid, &call);
Note: See TracChangeset for help on using the changeset viewer.