Ignore:
File:
1 edited

Legend:

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

    r286286c r15f3c3f  
    154154         * Check for duplicit registrations.
    155155         */
    156         if (fs_name_to_handle(fs_info->vfs_info.instance,
    157             fs_info->vfs_info.name, false)) {
     156        if (fs_name_to_handle(fs_info->vfs_info.name, false)) {
    158157                /*
    159158                 * We already register a fs like this.
     
    298297 *
    299298 */
    300 fs_handle_t fs_name_to_handle(unsigned int instance, char *name, bool lock)
     299fs_handle_t fs_name_to_handle(char *name, bool lock)
    301300{
    302301        int handle = 0;
     
    307306        list_foreach(fs_list, cur) {
    308307                fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link);
    309                 if (str_cmp(fs->vfs_info.name, name) == 0 &&
    310                     instance == fs->vfs_info.instance) {
     308                if (str_cmp(fs->vfs_info.name, name) == 0) {
    311309                        handle = fs->fs_handle;
    312310                        break;
Note: See TracChangeset for help on using the changeset viewer.