Changeset fdb7795 in mainline for uspace/srv/fs/tmpfs/tmpfs.c


Ignore:
Timestamp:
2008-02-25T22:22:57Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6c441cf8
Parents:
07e01e6
Message:

Separate creation of a TMPFS node and its linking in the file system name space.
Rename VFS_FREE to VFS_DESTROY and destroy_node() to unlink_node().

File:
1 edited

Legend:

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

    r07e01e6 rfdb7795  
    6161                [IPC_METHOD_TO_VFS_OP(VFS_MOUNT)] = VFS_OP_NULL,
    6262                [IPC_METHOD_TO_VFS_OP(VFS_UNMOUNT)] = VFS_OP_NULL,
    63                 [IPC_METHOD_TO_VFS_OP(VFS_FREE)] = VFS_OP_DEFINED,
     63                [IPC_METHOD_TO_VFS_OP(VFS_DESTROY)] = VFS_OP_DEFINED,
    6464        }
    6565};
     
    116116                        tmpfs_truncate(callid, &call);
    117117                        break;
    118                 case VFS_FREE:
    119                         tmpfs_free(callid, &call);
     118                case VFS_DESTROY:
     119                        tmpfs_destroy(callid, &call);
    120120                        break;
    121121                default:
Note: See TracChangeset for help on using the changeset viewer.