Changeset 8d049ee0 in mainline for uspace/srv/fs/tmpfs/tmpfs.c


Ignore:
Timestamp:
2009-04-18T20:14:49Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8c1eb69
Parents:
594303b
Message:

Support multiple TMPFS instances.

File:
1 edited

Legend:

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

    r594303b r8d049ee0  
    128128{
    129129        printf(NAME ": HelenOS TMPFS file system server\n");
    130        
     130
     131        if (!tmpfs_init()) {
     132                printf(NAME ": failed to initialize TMPFS\n");
     133                return -1;
     134        }
     135
    131136        int vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0);
    132137        if (vfs_phone < EOK) {
     
    141146                return rc;
    142147        }
    143        
     148
    144149        printf(NAME ": Accepting connections\n");
    145150        async_manager();
Note: See TracChangeset for help on using the changeset viewer.