Ignore:
File:
1 edited

Legend:

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

    rfeeac0d r3e6a98c5  
    260260        fibril_mutex_lock(&fs_list_lock);
    261261       
    262         list_foreach(fs_list, fs_link, fs_info_t, fs) {
     262        list_foreach(fs_list, cur) {
     263                fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link);
     264               
    263265                if (fs->fs_handle == handle) {
    264266                        fibril_mutex_unlock(&fs_list_lock);
     
    303305                fibril_mutex_lock(&fs_list_lock);
    304306       
    305         list_foreach(fs_list, fs_link, fs_info_t, fs) {
     307        list_foreach(fs_list, cur) {
     308                fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link);
    306309                if (str_cmp(fs->vfs_info.name, name) == 0 &&
    307310                    instance == fs->vfs_info.instance) {
     
    329332       
    330333        fibril_mutex_lock(&fs_list_lock);
    331         list_foreach(fs_list, fs_link, fs_info_t, fs) {
     334        list_foreach(fs_list, cur) {
     335                fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link);
    332336                if (fs->fs_handle == handle) {
    333337                        info = &fs->vfs_info;
Note: See TracChangeset for help on using the changeset viewer.