Changeset 4198f9c3 in mainline for uspace/srv/fs/tmpfs/tmpfs.c


Ignore:
Timestamp:
2009-06-28T13:43:15Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
852b801
Parents:
6408be3
Message:

Separate the VFS input and output protocols.

File:
1 edited

Legend:

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

    r6408be3 r4198f9c3  
    9999                case IPC_M_PHONE_HUNGUP:
    100100                        return;
    101                 case VFS_MOUNTED:
     101                case VFS_OUT_MOUNTED:
    102102                        tmpfs_mounted(callid, &call);
    103103                        break;
    104                 case VFS_MOUNT:
     104                case VFS_OUT_MOUNT:
    105105                        tmpfs_mount(callid, &call);
    106106                        break;
    107                 case VFS_LOOKUP:
     107                case VFS_OUT_LOOKUP:
    108108                        tmpfs_lookup(callid, &call);
    109109                        break;
    110                 case VFS_READ:
     110                case VFS_OUT_READ:
    111111                        tmpfs_read(callid, &call);
    112112                        break;
    113                 case VFS_WRITE:
     113                case VFS_OUT_WRITE:
    114114                        tmpfs_write(callid, &call);
    115115                        break;
    116                 case VFS_TRUNCATE:
     116                case VFS_OUT_TRUNCATE:
    117117                        tmpfs_truncate(callid, &call);
    118118                        break;
    119                 case VFS_CLOSE:
     119                case VFS_OUT_CLOSE:
    120120                        tmpfs_close(callid, &call);
    121121                        break;
    122                 case VFS_DESTROY:
     122                case VFS_OUT_DESTROY:
    123123                        tmpfs_destroy(callid, &call);
    124124                        break;
    125                 case VFS_OPEN_NODE:
     125                case VFS_OUT_OPEN_NODE:
    126126                        tmpfs_open_node(callid, &call);
    127127                        break;
    128                 case VFS_DEVICE:
     128                case VFS_OUT_DEVICE:
    129129                        tmpfs_device(callid, &call);
    130130                        break;
    131                 case VFS_SYNC:
     131                case VFS_OUT_SYNC:
    132132                        tmpfs_sync(callid, &call);
    133133                        break;
     
    153153                return -1;
    154154        }
    155        
     155
    156156        int rc = fs_register(vfs_phone, &tmpfs_reg, &tmpfs_vfs_info,
    157157            tmpfs_connection);
Note: See TracChangeset for help on using the changeset viewer.