Changeset 3a0a4d8 in mainline for uspace/srv/fs/fat/fat_idx.c


Ignore:
Timestamp:
2013-09-12T07:54:05Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
95027b5
Parents:
47f5a77 (diff), 64f3d3b (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/srv/fs/fat/fat_idx.c

    r47f5a77 r3a0a4d8  
    8888static unused_t *unused_find(service_id_t service_id, bool lock)
    8989{
    90         unused_t *u;
    91 
    9290        if (lock)
    9391                fibril_mutex_lock(&unused_lock);
    9492
    95         list_foreach(unused_list, l) {
    96                 u = list_get_instance(l, unused_t, link);
     93        list_foreach(unused_list, link, unused_t, u) {
    9794                if (u->service_id == service_id)
    9895                        return u;
Note: See TracChangeset for help on using the changeset viewer.