Changeset 6b8e5b74 in mainline for uspace/srv/vfs/vfs_ops.c


Ignore:
Timestamp:
2011-11-05T23:08:52Z (14 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6f9ef87a
Parents:
7e8403b
Message:

vfs_get_mtab(): service_id is more useful than flags and fs_handle

File:
1 edited

Legend:

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

    r7e8403b r6b8e5b74  
    369369        }
    370370
    371         mtab_ent->fs_handle = fs_handle;
    372371        str_cpy(mtab_ent->mp, MAX_PATH_LEN, mp);
    373372        str_cpy(mtab_ent->fs_name, FS_NAME_MAXLEN, fs_name);
    374373        str_cpy(mtab_ent->opts, MAX_MNTOPTS_LEN, opts);
    375         mtab_ent->flags = flags;
    376374        mtab_ent->instance = instance;
     375        mtab_ent->service_id = service_id;
    377376
    378377        link_initialize(&mtab_ent->link);
     
    13931392
    13941393                rc = EOK;
    1395                 async_answer_3(callid, rc, mtab_ent->flags, mtab_ent->instance,
    1396                     mtab_ent->fs_handle);
     1394                async_answer_2(callid, rc, mtab_ent->instance,
     1395                    mtab_ent->service_id);
    13971396        }
    13981397
Note: See TracChangeset for help on using the changeset viewer.