Changeset 0773396 in mainline for uspace/lib/block/block.c


Ignore:
Timestamp:
2013-12-25T13:05:25Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bc54126c
Parents:
f4a47e52 (diff), 6946f23 (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/lib/block/block.c

    rf4a47e52 r0773396  
    3737 */
    3838
    39 #include "../../srv/vfs/vfs.h"
    4039#include <ipc/loc.h>
    4140#include <ipc/services.h>
     
    9392        fibril_mutex_lock(&dcl_lock);
    9493       
    95         list_foreach(dcl, cur) {
    96                 devcon_t *devcon = list_get_instance(cur, devcon_t, link);
     94        list_foreach(dcl, link, devcon_t, devcon) {
    9795                if (devcon->service_id == service_id) {
    9896                        fibril_mutex_unlock(&dcl_lock);
     
    124122       
    125123        fibril_mutex_lock(&dcl_lock);
    126         list_foreach(dcl, cur) {
    127                 devcon_t *d = list_get_instance(cur, devcon_t, link);
     124        list_foreach(dcl, link, devcon_t, d) {
    128125                if (d->service_id == service_id) {
    129126                        fibril_mutex_unlock(&dcl_lock);
Note: See TracChangeset for help on using the changeset viewer.