Changeset 0c2d9bb in mainline for uspace/srv/vfs/vfs_register.c


Ignore:
Timestamp:
2013-12-25T22:54:29Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b51cf2c
Parents:
f7a33de (diff), ac36aed (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge mainline changes

File:
1 edited

Legend:

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

    rf7a33de r0c2d9bb  
    260260        fibril_mutex_lock(&fs_list_lock);
    261261       
    262         list_foreach(fs_list, cur) {
    263                 fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link);
    264                
     262        list_foreach(fs_list, fs_link, fs_info_t, fs) {
    265263                if (fs->fs_handle == handle) {
    266264                        fibril_mutex_unlock(&fs_list_lock);
     
    305303                fibril_mutex_lock(&fs_list_lock);
    306304       
    307         list_foreach(fs_list, cur) {
    308                 fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link);
     305        list_foreach(fs_list, fs_link, fs_info_t, fs) {
    309306                if (str_cmp(fs->vfs_info.name, name) == 0 &&
    310307                    instance == fs->vfs_info.instance) {
     
    332329       
    333330        fibril_mutex_lock(&fs_list_lock);
    334         list_foreach(fs_list, cur) {
    335                 fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link);
     331        list_foreach(fs_list, fs_link, fs_info_t, fs) {
    336332                if (fs->fs_handle == handle) {
    337333                        info = &fs->vfs_info;
Note: See TracChangeset for help on using the changeset viewer.