Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/block/block.c

    rb7adc22 r4e00f87  
    3737 */
    3838
     39#include "../../srv/vfs/vfs.h"
    3940#include <ipc/loc.h>
    4041#include <ipc/services.h>
     
    9293        fibril_mutex_lock(&dcl_lock);
    9394       
    94         list_foreach(dcl, link, devcon_t, devcon) {
     95        list_foreach(dcl, cur) {
     96                devcon_t *devcon = list_get_instance(cur, devcon_t, link);
    9597                if (devcon->service_id == service_id) {
    9698                        fibril_mutex_unlock(&dcl_lock);
     
    122124       
    123125        fibril_mutex_lock(&dcl_lock);
    124         list_foreach(dcl, link, devcon_t, d) {
     126        list_foreach(dcl, cur) {
     127                devcon_t *d = list_get_instance(cur, devcon_t, link);
    125128                if (d->service_id == service_id) {
    126129                        fibril_mutex_unlock(&dcl_lock);
Note: See TracChangeset for help on using the changeset viewer.