Changes in uspace/lib/fs/libfs.c [2d884ab:feeac0d] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/fs/libfs.c

    r2d884ab rfeeac0d  
    882882
    883883        fibril_mutex_lock(&instances_mutex);
    884         list_foreach(instances_list, link) {
    885                 fs_instance_t *cur = list_get_instance(link, fs_instance_t,
    886                     link);
    887 
     884        list_foreach(instances_list, link, fs_instance_t, cur) {
    888885                if (cur->service_id == service_id) {
    889886                        fibril_mutex_unlock(&instances_mutex);
     
    908905{
    909906        fibril_mutex_lock(&instances_mutex);
    910         list_foreach(instances_list, link) {
    911                 fs_instance_t *inst = list_get_instance(link, fs_instance_t,
    912                     link);
    913 
     907        list_foreach(instances_list, link, fs_instance_t, inst) {
    914908                if (inst->service_id == service_id) {
    915909                        *idp = inst->data;
     
    925919{
    926920        fibril_mutex_lock(&instances_mutex);
    927         list_foreach(instances_list, link) {
    928                 fs_instance_t *inst = list_get_instance(link, fs_instance_t,
    929                     link);
    930 
     921        list_foreach(instances_list, link, fs_instance_t, inst) {
    931922                if (inst->service_id == service_id) {
    932923                        list_remove(&inst->link);
Note: See TracChangeset for help on using the changeset viewer.