Changeset 7b47fa2 in mainline for uspace/srv/vfs/vfs.c


Ignore:
Timestamp:
2009-06-25T21:30:25Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9593bc8
Parents:
d4b9d28
Message:

Do not use the "pending" fibril mechanism in VFS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs.c

    rd4b9d28 r7b47fa2  
    4444#include <string.h>
    4545#include <as.h>
    46 #include <adt/list.h>
    4746#include <atomic.h>
    48 #include <assert.h>
    4947#include "vfs.h"
    5048
     
    142140       
    143141        /*
    144          * Initialize the list of registered file systems.
    145          */
    146         list_initialize(&fs_head);
    147        
    148         /*
    149142         * Initialize VFS node hash table.
    150143         */
     
    157150         * Allocate and initialize the Path Lookup Buffer.
    158151         */
    159         list_initialize(&plb_head);
    160152        plb = as_get_mappable_page(PLB_SIZE);
    161153        if (!plb) {
     
    177169
    178170        /*
    179          * Add a fibril for handling pending mounts.
    180          */
    181         fid_t fid = fibril_create(vfs_process_pending_mount, NULL);
    182         assert(fid);
    183         fibril_add_ready(fid);
    184        
    185         /*
    186171         * Register at the naming service.
    187172         */
Note: See TracChangeset for help on using the changeset viewer.