Changeset af7383f in mainline for uspace/srv/vfs/vfs.c


Ignore:
Timestamp:
2009-06-15T19:17:11Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c07af37
Parents:
0ed2e0e
Message:

Handle pending mounts using only one fibril.

File:
1 edited

Legend:

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

    r0ed2e0e raf7383f  
    4646#include <adt/list.h>
    4747#include <atomic.h>
     48#include <assert.h>
    4849#include "vfs.h"
    4950
     
    175176       
    176177        /*
    177          * Set a connectio handling function/fibril.
    178          */
    179         async_set_pending(vfs_process_pending_mount);
     178         * Set a connection handling function/fibril.
     179         */
    180180        async_set_client_connection(vfs_connection);
     181
     182        /*
     183         * Add a fibril for handling pending mounts.
     184         */
     185        fid_t fid = fibril_create(vfs_process_pending_mount, NULL);
     186        assert(fid);
     187        fibril_add_ready(fid);
    181188       
    182189        /*
Note: See TracChangeset for help on using the changeset viewer.