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


Ignore:
Timestamp:
2011-09-23T15:39:07Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
286286c
Parents:
8895d05
git-author:
Maurizio Lombardi <m.lombardi85@…> (2011-09-23 15:39:07)
git-committer:
Jakub Jermar <jakub@…> (2011-09-23 15:39:07)
Message:

Allow more instances of the same FS to be used.
(Thanks to Maurizio Lombardi.)

File:
1 edited

Legend:

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

    r8895d05 r4979403  
    276276       
    277277        /*
     278         * Instance number is passed as ARG3.
     279         */
     280        unsigned int instance = IPC_GET_ARG3(*request);
     281
     282        /*
    278283         * For now, don't make use of ARG3, but it can be used to
    279284         * carry mount options in the future.
     
    335340        fs_handle_t fs_handle;
    336341recheck:
    337         fs_handle = fs_name_to_handle(fs_name, false);
     342        fs_handle = fs_name_to_handle(instance, fs_name, false);
    338343        if (!fs_handle) {
    339344                if (flags & IPC_FLAG_BLOCKING) {
Note: See TracChangeset for help on using the changeset viewer.