Changeset 0773396 in mainline for uspace/srv/fs/fat/fat_idx.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/srv/fs/fat/fat_idx.c

    rf4a47e52 r0773396  
    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.