Ignore:
File:
1 edited

Legend:

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

    r3e6a98c5 rfeeac0d  
    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.