Changeset b75e929 in mainline for uspace/srv/vfs/vfs_ops.c


Ignore:
Timestamp:
2011-01-26T00:24:57Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a28ab12
Parents:
23882034
Message:

Put the table of open files into the async client data.

File:
1 edited

Legend:

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

    r23882034 rb75e929  
    491491void vfs_open(ipc_callid_t rid, ipc_call_t *request)
    492492{
    493         if (!vfs_files_init()) {
    494                 ipc_answer_0(rid, ENOMEM);
    495                 return;
    496         }
    497        
    498493        /*
    499494         * The POSIX interface is open(path, oflag, mode).
     
    618613        // FIXME: check for sanity of the supplied fs, dev and index
    619614       
    620         if (!vfs_files_init()) {
    621                 ipc_answer_0(rid, ENOMEM);
    622                 return;
    623         }
    624        
    625615        /*
    626616         * The interface is open_node(fs, dev, index, oflag).
Note: See TracChangeset for help on using the changeset viewer.